Permalink
Browse files

Exclude __pycache__ from profiles list.

  • Loading branch information...
1 parent afd446b commit 486b32907785c861f13ac141ffb00aa8d261d4da @takluyver committed Apr 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 IPython/core/profileapp.py
@@ -110,7 +110,7 @@ def list_bundled_profiles():
profiles = []
for profile in files:
full_path = os.path.join(path, profile)
- if os.path.isdir(full_path):
+ if os.path.isdir(full_path) and profile != "__pycache__":
profiles.append(profile)
return profiles

0 comments on commit 486b329

Please sign in to comment.