chiark / gitweb /
Fix no-checksum option type for local sync (fixes #67)
authorCiaran Gultnieks <ciaran@ciarang.com>
Wed, 21 Jan 2015 09:15:20 +0000 (09:15 +0000)
committerCiaran Gultnieks <ciaran@ciarang.com>
Wed, 21 Jan 2015 09:16:08 +0000 (09:16 +0000)
fdroidserver/server.py

index 3cc427485f6285ca202ce17d1c32ae1ac39e6613..40b6dc133a7516184a21602ea6ceb7ad51325b50 100644 (file)
@@ -166,7 +166,7 @@ def _local_sync(fromdir, todir):
                  '--one-file-system', '--delete', '--chmod=Da+rx,Fa-x,a+r,u+w']
     # use stricter rsync checking on all files since people using offline mode
     # are already prioritizing security above ease and speed
-    if not options.nochecksum:
+    if not options.no_checksum:
         rsyncargs.append('--checksum')
     if options.verbose:
         rsyncargs += ['--verbose']