From 18c328e3cfba84ccff8ec9ee08a751978e343f69 Mon Sep 17 00:00:00 2001 From: Dag Sverre Seljebotn Date: Thu, 14 May 2009 14:27:24 +0200 Subject: [PATCH] Fix regression related to --embed support --- Cython/Compiler/ModuleNode.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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): -- 2.26.2