Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP8 fixes #919

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion src/jarabe/model/bundleregistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ def _scan_directory(self, path):
# Sort by mtime to ensure a stable activity order
bundles = {}
for f in os.listdir(path):
bundle_dir = os.path.join(path, f)
try:
bundle_dir = os.path.join(path, f)
if os.path.isdir(bundle_dir):
bundles[bundle_dir] = os.stat(bundle_dir).st_mtime
except Exception:
Expand Down