aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriit Laes <plaes@plaes.org>2010-07-02 00:12:21 +0300
committerPriit Laes <plaes@plaes.org>2010-07-02 00:12:21 +0300
commit772bd9c7d681d0ccdd7c19b94cb71fcecdbe8aa4 (patch)
treea409a1330d982c871654c67d9a87a4f183603d9f /utils/grumpy_sync.py
parentStore update file name in the settings (diff)
downloadgsoc2010-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/grumpy_sync.py')
-rwxr-xr-xutils/grumpy_sync.py2
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