diff options
author | W. Trevor King <wking@drexel.edu> | 2009-08-31 11:50:28 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-08-31 11:50:28 -0400 |
commit | baa45573a54bf8f7fdcd7fc53d13f9f160954da7 (patch) | |
tree | 83e54eddaa574462b1d71b80b753b4aa6ee8ec44 /libbe/bugdir.py | |
parent | ab45531c788f48bf27dec1a5fff2d23ac92936f7 (diff) | |
download | bugseverywhere-baa45573a54bf8f7fdcd7fc53d13f9f160954da7.tar.gz |
Made get_path() definitions consistent between bugdirs, bugs, and comments.
Diffstat (limited to 'libbe/bugdir.py')
-rw-r--r-- | libbe/bugdir.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py index ee6c943..64fea1f 100644 --- a/libbe/bugdir.py +++ b/libbe/bugdir.py @@ -370,11 +370,11 @@ settings easy. Don't set this attribute. Set .rcs instead, and """ Return a path relative to .root. """ - my_dir = os.path.join(self.root, ".be") + dir = os.path.join(self.root, ".be") if len(args) == 0: - return my_dir + return dir assert args[0] in ["version", "settings", "bugs"], str(args) - return os.path.join(my_dir, *args) + return os.path.join(dir, *args) def _get_settings(self, settings_path, for_duplicate_bugdir=False): allow_no_rcs = not self.rcs.path_in_root(settings_path) |