Merge lp:~mterry/duplicity/typos into lp:~duplicity-team/duplicity/0.7-series

Proposed by Michael Terry
Status: Merged
Merged at revision: not available
Proposed branch: lp:~mterry/duplicity/typos
Merge into: lp:~duplicity-team/duplicity/0.7-series
Diff against target: 104 lines (+10/-10)
7 files modified
duplicity/backends/hsibackend.py (+1/-1)
duplicity/path.py (+1/-1)
duplicity/selection.py (+1/-1)
duplicity/statistics.py (+4/-4)
testing/GnuPGInterfacetest.py (+1/-1)
testing/collectionstest.py (+1/-1)
testing/patchdirtest.py (+1/-1)
To merge this branch: bzr merge lp:~mterry/duplicity/typos
Reviewer Review Type Date Requested Status
duplicity-team Pending
Review via email: mp+16104@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Michael Terry (mterry) wrote :

Here are some typo fixes I found when using pydev+eclipse.

lp:~mterry/duplicity/typos updated
626. By Michael Terry

whoops, and this typo

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

I tried to merge this in after optparse and typos-0.6 and got 'nothing to do' from the merge command.

Revision history for this message
Michael Terry (mterry) wrote :

Huh. This branch was for 0.7. typos-0.6 and optparse were for 0.6. If you tried to merge this with 0.6, I could see you getting that message, because typos-0.6 already made same changes?

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

Not enough coffee, obviously!

Michael Terry wrote:
> Huh. This branch was for 0.7. typos-0.6 and optparse were for 0.6. If you tried to merge this with 0.6, I could see you getting that message, because typos-0.6 already made same changes?

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'duplicity/backends/hsibackend.py'
--- duplicity/backends/hsibackend.py 2009-04-01 15:07:45 +0000
+++ duplicity/backends/hsibackend.py 2009-12-13 23:47:12 +0000
@@ -60,7 +60,7 @@
60 return filter(lambda x: x, l)60 return filter(lambda x: x, l)
6161
62 def delete(self, filename_list):62 def delete(self, filename_list):
63 assert len(filename_ist) > 063 assert len(filename_list) > 0
64 pathlist = map(lambda fn: self.remote_prefix + fn, filename_list)64 pathlist = map(lambda fn: self.remote_prefix + fn, filename_list)
65 for fn in filename_list:65 for fn in filename_list:
66 commandline = '%s "rm %s%s"' % (hsi_command, self.remote_prefix, fn)66 commandline = '%s "rm %s%s"' % (hsi_command, self.remote_prefix, fn)
6767
=== modified file 'duplicity/path.py'
--- duplicity/path.py 2009-09-02 11:10:31 +0000
+++ duplicity/path.py 2009-12-13 23:47:12 +0000
@@ -260,7 +260,7 @@
260 ti.type = tarfile.BLKTYPE260 ti.type = tarfile.BLKTYPE
261 ti.devmajor, ti.devminor = self.devnums261 ti.devmajor, ti.devminor = self.devnums
262 else:262 else:
263 raise PathError("Unrecognized type " + str(self.type))263 raise PathException("Unrecognized type " + str(self.type))
264264
265 ti.mode = self.mode265 ti.mode = self.mode
266 ti.uid, ti.gid = self.stat.st_uid, self.stat.st_gid266 ti.uid, ti.gid = self.stat.st_uid, self.stat.st_gid
267267
=== modified file 'duplicity/selection.py'
--- duplicity/selection.py 2009-10-29 18:44:14 +0000
+++ duplicity/selection.py 2009-12-13 23:47:12 +0000
@@ -271,7 +271,7 @@
271Useful file specifications begin with the base directory or some271Useful file specifications begin with the base directory or some
272pattern (such as '**') which matches the base directory.""") %272pattern (such as '**') which matches the base directory.""") %
273 (exc, self.prefix), log.ErrorCode.file_prefix_error)273 (exc, self.prefix), log.ErrorCode.file_prefix_error)
274 elif isinstance(e, GlobbingError):274 elif isinstance(exc, GlobbingError):
275 log.FatalError(_("Fatal Error while processing expression\n"275 log.FatalError(_("Fatal Error while processing expression\n"
276 "%s") % exc, log.ErrorCode.globbing_error)276 "%s") % exc, log.ErrorCode.globbing_error)
277 else:277 else:
278278
=== modified file 'duplicity/statistics.py'
--- duplicity/statistics.py 2009-04-02 14:47:12 +0000
+++ duplicity/statistics.py 2009-12-13 23:47:12 +0000
@@ -119,10 +119,10 @@
119 if line[-1] == "\n":119 if line[-1] == "\n":
120 line = line[:-1]120 line = line[:-1]
121 lineparts = line.split(" ")121 lineparts = line.split(" ")
122 if len(lineparts) < len(stat_file_attrs):122 if len(lineparts) < len(self.stat_file_attrs):
123 error()123 error()
124 for attr, val_string in zip(stat_file_attrs,124 for attr, val_string in zip(self.stat_file_attrs,
125 lineparts[-len(stat_file_attrs):]):125 lineparts[-len(self.stat_file_attrs):]):
126 try:126 try:
127 val = long(val_string)127 val = long(val_string)
128 except ValueError:128 except ValueError:
@@ -288,7 +288,7 @@
288288
289 def get_statsobj_copy(self):289 def get_statsobj_copy(self):
290 """Return new StatsObj object with same stats as self"""290 """Return new StatsObj object with same stats as self"""
291 s = StatObj()291 s = StatsObj()
292 for attr in self.stat_attrs:292 for attr in self.stat_attrs:
293 s.set_stat(attr, self.get_stat(attr))293 s.set_stat(attr, self.get_stat(attr))
294 return s294 return s
295295
=== modified file 'testing/GnuPGInterfacetest.py'
--- testing/GnuPGInterfacetest.py 2009-06-06 17:35:19 +0000
+++ testing/GnuPGInterfacetest.py 2009-12-13 23:47:12 +0000
@@ -94,7 +94,7 @@
9494
95 creations = []95 creations = []
96 # We'll handle the passphrase manually96 # We'll handle the passphrase manually
97 if passphrase != None: handles.append('passphrase')97 if passphrase != None: proc.handles.append('passphrase')
9898
99 attachments = { 'stdin': stdin, 'stdout': stdout }99 attachments = { 'stdin': stdin, 'stdout': stdout }
100100
101101
=== modified file 'testing/collectionstest.py'
--- testing/collectionstest.py 2009-09-25 14:20:10 +0000
+++ testing/collectionstest.py 2009-12-13 23:47:12 +0000
@@ -218,7 +218,7 @@
218 "duplicity-full.2002-08-15T01:01:01-07:00.vol1.difftar.gpg",218 "duplicity-full.2002-08-15T01:01:01-07:00.vol1.difftar.gpg",
219 "duplicity-inc.2000-08-17T16:17:01-07:00.to.2000-08-18T00:04:30-07:00.manifest.gpg",219 "duplicity-inc.2000-08-17T16:17:01-07:00.to.2000-08-18T00:04:30-07:00.manifest.gpg",
220 "duplicity-inc.2000-08-17T16:17:01-07:00.to.2000-08-18T00:04:30-07:00.vol1.difftar.gpg"]220 "duplicity-inc.2000-08-17T16:17:01-07:00.to.2000-08-18T00:04:30-07:00.vol1.difftar.gpg"]
221 local_received_list, remote_received_list = cs.get_extraneous()221 local_received_list, remote_received_list = cs.get_extraneous(False)
222 errors = []222 errors = []
223 for filename in remote_received_list:223 for filename in remote_received_list:
224 if filename not in right_list:224 if filename not in right_list:
225225
=== modified file 'testing/patchdirtest.py'
--- testing/patchdirtest.py 2009-09-25 14:20:10 +0000
+++ testing/patchdirtest.py 2009-12-13 23:47:12 +0000
@@ -314,7 +314,7 @@
314314
315 def try_seq(input_seq, correct_output_seq):315 def try_seq(input_seq, correct_output_seq):
316 normed = patchdir.normalize_ps(input_seq)316 normed = patchdir.normalize_ps(input_seq)
317 assert normed == correct_output_seq, (normed, correct_output_eq)317 assert normed == correct_output_seq, (normed, correct_output_seq)
318318
319 try_seq(seq1, seq1)319 try_seq(seq1, seq1)
320 try_seq(seq2, [de])320 try_seq(seq2, [de])

Subscribers

People subscribed via source and target branches