diff options
author | 2010-07-02 00:12:21 +0300 | |
---|---|---|
committer | 2010-07-02 00:12:21 +0300 | |
commit | 772bd9c7d681d0ccdd7c19b94cb71fcecdbe8aa4 (patch) | |
tree | a409a1330d982c871654c67d9a87a4f183603d9f /utils | |
parent | Store update file name in the settings (diff) | |
download | gsoc2010-grumpy-772bd9c7d681d0ccdd7c19b94cb71fcecdbe8aa4.tar.gz gsoc2010-grumpy-772bd9c7d681d0ccdd7c19b94cb71fcecdbe8aa4.tar.bz2 gsoc2010-grumpy-772bd9c7d681d0ccdd7c19b94cb71fcecdbe8aa4.zip |
Return None instead of empty dictionary in initial sync case
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/grumpy_sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/grumpy_sync.py b/utils/grumpy_sync.py index 111c8dc..160bbb9 100755 --- a/utils/grumpy_sync.py +++ b/utils/grumpy_sync.py @@ -57,7 +57,7 @@ def main(path, initial_sync): session.add(Setting('updates_info', data)) session.commit() # Initial sync does not need to deal with moves - return {} + return # Not an initial sync... raise NotImplementedError |