diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-07-11 18:43:42 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-07-11 18:43:42 +0300 |
commit | d8f8704d0e2fbf59d03946e8eb5a00e522941059 (patch) | |
tree | c9f397e724e7339decbc4ed1961267dfce793676 /obnamlib/fmt_ga/tree.py | |
parent | 2f57b649a21c9725e9bc61c9fbef6b90e902e3c9 (diff) | |
download | obnam-d8f8704d0e2fbf59d03946e8eb5a00e522941059.tar.gz |
Always add . to a directory
Diffstat (limited to 'obnamlib/fmt_ga/tree.py')
-rw-r--r-- | obnamlib/fmt_ga/tree.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/obnamlib/fmt_ga/tree.py b/obnamlib/fmt_ga/tree.py index cd8dba9f..701842ca 100644 --- a/obnamlib/fmt_ga/tree.py +++ b/obnamlib/fmt_ga/tree.py @@ -93,6 +93,7 @@ class GATree(object): parent_obj.as_dict()) else: parent_obj = obnamlib.GADirectory() + parent_obj.add_file('.') parent_obj.add_subdir(basename, None) self.set_directory(parent_path, parent_obj) |