again working with further refactorings

This commit is contained in:
David Halter committed 2012-09-22 00:54:20 +02:00
1 parent 0bdcc968e3
commit 7dc96502eb
2 files changed
+14 -19

No files matched your search

+1 -1
View File
@@ -288,7 +288,7 @@ class Module(Scope):
n += self.global_vars
return n
def get_module_name(self):
def get_name(self):
""" This is used for the goto function. """
sep = (os.path.sep,) * 2
r = re.search(r'([^%s]+?)(%s__init__)?(\.py)?$' % sep, self.path)