util.py fix had typo

Kevin Altis <[email protected]> Wed, 29 Jul 2009 16:56:48 -0700
Newsgroups gmane.comp.python.pythoncard.devel,gmane.comp.python.pythoncard
Message-ID <[email protected]>
I dropped a parens on previous code, the correct version which I just  
copied and pasted from a working version is:


def main_is_frozen():
     if sys.platform == 'darwin':
         # this is a temporary hack for bundlebuilder
         return not (sys.executable.endswith('Resources/Python.app/ 
Contents/MacOS/Python'))
     else:
         return (hasattr(sys, "frozen") or # new py2exe, McMillan
                 hasattr(sys, "importers") # old py2exe
                 or imp.is_frozen("__main__")) # tools/freeze, cx_freeze


Sorry for the earlier mistake,

ka

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july