From: Stefan Behnel Date: Fri, 21 Aug 2009 11:10:20 +0000 (+0200) Subject: minor cleanup X-Git-Tag: 0.12.alpha0~233 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b387b2359c086c291714d03eb68fae25b4df3fea;p=cython.git minor cleanup --- diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index a5b1efe3..0007691d 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -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]