mercurial/utils/procutil.py
changeset 43503 313e3a279828
parent 43478 54f4d094bab1
child 43506 9f70512ae2cf
equal deleted inserted replaced
43502:c093cc6e6c99 43503:313e3a279828
   261     (portable, not much used).
   261     (portable, not much used).
   262     """
   262     """
   263     return (
   263     return (
   264         pycompat.safehasattr(sys, "frozen")
   264         pycompat.safehasattr(sys, "frozen")
   265         or pycompat.safehasattr(sys, "importers")  # new py2exe
   265         or pycompat.safehasattr(sys, "importers")  # new py2exe
   266         or imp.is_frozen(r"__main__")  # old py2exe
   266         or imp.is_frozen("__main__")  # old py2exe
   267     )  # tools/freeze
   267     )  # tools/freeze
   268 
   268 
   269 
   269 
   270 _hgexecutable = None
   270 _hgexecutable = None
   271 
   271