minor cleanup
authorStefan Behnel <scoder@users.berlios.de>
Fri, 21 Aug 2009 11:10:20 +0000 (13:10 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 21 Aug 2009 11:10:20 +0000 (13:10 +0200)
Cython/Compiler/Main.py

index a5b1efe34555e2be025d11a2df80f42168679339..0007691dd3f5cc0a6378b86427c68f06cf51a7ab 100644 (file)
@@ -320,7 +320,9 @@ class Context(object):
             else:
                 dirs = [self.find_root_package_dir(file_desc.filename)] + dirs
 
-        dotted_filename = qualified_name + suffix
+        dotted_filename = qualified_name
+        if suffix:
+            dotted_filename += suffix
         if not include:
             names = qualified_name.split('.')
             package_names = names[:-1]