]> arthur.barton.de Git - bup.git/blobdiff - lib/cmd/bup
ls: convert to internal command
[bup.git] / lib / cmd / bup
index c4e7bc5f4c5a37af8c3afb02b0b2d1b0fae60b9b..d50278b52846105ece999aff3c8997005092ae9f 100755 (executable)
@@ -185,7 +185,8 @@ if not subcmd_name:
     usage()
 
 try:
-    if subcmd_name not in (b'cat-file',):
+    if subcmd_name not in (b'cat-file',
+                           b'ls'):
         raise ModuleNotFoundError()
     cmd_module = import_module('bup.cmd.'
                                + subcmd_name.decode('ascii').replace('-', '_'))