projects
/
treecutter.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sitemap/resource: adding minus in path, adding video
[treecutter.git]
/
treecutter
/
directory.py
diff --git
a/treecutter/directory.py
b/treecutter/directory.py
index e7508d94f8d22b3403d60dd85c695eacc6584179..1b7a3e9f3ee6562ff9bfedd51ea0bdac409b1d7c 100644
(file)
--- a/
treecutter/directory.py
+++ b/
treecutter/directory.py
@@
-10,7
+10,7
@@
class Directory():
def __init__(self):
self._cwd = u'.'
self._tree = []
- self._basepath = re.compile('[/\w\._-]*/
\w
+',re.UNICODE)
+ self._basepath = re.compile('[/\w\._-]*/
[\w-]
+',re.UNICODE)
def scan(self):
for dirname, dirnames, filenames in os.walk(self._cwd):