From b387b2359c086c291714d03eb68fae25b4df3fea Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 21 Aug 2009 13:10:20 +0200 Subject: [PATCH] minor cleanup --- Cython/Compiler/Main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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] -- 2.26.2