From: Dag Sverre Seljebotn Date: Thu, 14 May 2009 12:27:24 +0000 (+0200) Subject: Fix regression related to --embed support X-Git-Tag: 0.11.2.rc1~10^2~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=18c328e3cfba84ccff8ec9ee08a751978e343f69;p=cython.git Fix regression related to --embed support --- diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index ed80ae1c..802cc09b 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -56,8 +56,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): else: env.doc = self.doc env.directives = self.directives - if Options.embed: - self.__main__cname = env.intern_identifier(EncodedString("__main__")) + self.__main__cname = env.intern_identifier(EncodedString("__main__")) self.body.analyse_declarations(env) def process_implementation(self, options, result):