Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Increase UI responsiveness by speeding things up with Psyco.

  • Loading branch information...
commit cc6c342123aa5ae4e4084561cc719206f2634408 1 parent 92893b9
@FooBarWidget authored
Showing with 12 additions and 0 deletions.
  1. +6 −0 snapopen/FileFinder.py
  2. +6 −0 snapopen/IgnoreFile.py
View
6 snapopen/FileFinder.py
@@ -2,6 +2,12 @@
import os.path
import fnmatch
+try:
+ import psyco
+ from psyco.classes import __metaclass__
+except:
+ pass
+
from IgnoreFile import IgnoreFile
if 'relpath' in dir(os.path):
View
6 snapopen/IgnoreFile.py
@@ -1,6 +1,12 @@
import os.path
from fnmatch import fnmatch
+try:
+ import psyco
+ from psyco.classes import __metaclass__
+except:
+ pass
+
# Patterns in ignore files are supposed to work similar to .gitignore:
#
# - If the pattern does not contain a slash /, it will be treated as a
Please sign in to comment.
Something went wrong with that request. Please try again.