diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-12-01 13:58:50 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-12-01 13:58:50 +0000 |
commit | fa7cd06fea56d77c46142a4f723b13d47c692417 (patch) | |
tree | c11c91c9b82b10c6a440e75b82d15b3f23c5a6dd | |
parent | 1026dcccd0fdedea41db5e5f052307ae10b13a48 (diff) | |
download | obnam-fa7cd06fea56d77c46142a4f723b13d47c692417.tar.gz |
Remove dangling elses.
-rw-r--r-- | obnamlib/plugins/backup_plugin.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/obnamlib/plugins/backup_plugin.py b/obnamlib/plugins/backup_plugin.py index fd82f8bb..a30a5244 100644 --- a/obnamlib/plugins/backup_plugin.py +++ b/obnamlib/plugins/backup_plugin.py @@ -248,7 +248,6 @@ class BackupPlugin(obnamlib.ObnamPlugin): pathname = os.path.join(root, old) if old not in new_basenames: self.store.remove(pathname) - else: # Files that are created after the previous generation will be # added to the directory when they are backed up, so we don't # need to worry about them here. @@ -281,7 +280,6 @@ class BackupPlugin(obnamlib.ObnamPlugin): helper(pathname) elif pathname not in new_roots: self.store.remove(pathname) - else: helper('/') |