]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/cmd/ftp.py
pylint: enable inconsistent-return-statements
[bup.git] / lib / bup / cmd / ftp.py
index 4694dd95bc596484e30da2e26924b3e12c6cab55..99121f0dc76d539fac313d085362b508a2dc22f1 100755 (executable)
@@ -26,7 +26,7 @@ def do_ls(repo, pwd, args, out):
         opt = ls.opts_from_cmdline(args, onabort=OptionError, pwd=pwd_str)
     except OptionError as e:
         log('error: %s' % e)
-        return
+        return None
     return ls.within_repo(repo, opt, out, pwd_str)
 
 
@@ -90,6 +90,7 @@ def enter_completion(text, iteration):
         except Exception as e2:
             log('Error printing traceback: %s\n' % e2)
         log('\nError in completion: %s\n' % e)
+    return None
 
 
 optspec = """