We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff00921 + 8c1f7b8 commit d7af1beCopy full SHA for d7af1be
pym/bob/cmds/archive.py
@@ -77,8 +77,8 @@ def __exit__(self, *exc):
77
return False
78
79
def scan(self, verbose):
80
+ found = False
81
try:
- found = False
82
self.__db.execute("BEGIN")
83
for l1 in os.listdir("."):
84
if not self.__dirSchema.fullmatch(l1): continue
@@ -98,7 +98,7 @@ def scan(self, verbose):
98
print("Your archive seems to be empty. "
99
"Are you running 'bob archive' from within the correct directory?",
100
file=sys.stderr)
101
- return found
+ return found
102
103
def __scan(self, fileName, verbose):
104
0 commit comments