##// END OF EJS Templates
util: move "default" hidewindow to posix.py...
Adrian Buehlmann -
r14911:5b395031 default
parent child Browse files
Show More
@@ -340,3 +340,11 b' def unlinkpath(f):'
340
340
341 def lookupreg(key, name=None, scope=None):
341 def lookupreg(key, name=None, scope=None):
342 return None
342 return None
343
344 def hidewindow():
345 """Hide current shell window.
346
347 Used to hide the window opened when starting asynchronous
348 child process under Windows, unneeded on other systems.
349 """
350 pass
@@ -475,14 +475,6 b' def checkwinfilename(path):'
475 return _("filename ends with '%s', which is not allowed "
475 return _("filename ends with '%s', which is not allowed "
476 "on Windows") % t
476 "on Windows") % t
477
477
478 def hidewindow():
479 """Hide current shell window.
480
481 Used to hide the window opened when starting asynchronous
482 child process under Windows, unneeded on other systems.
483 """
484 pass
485
486 if os.name == 'nt':
478 if os.name == 'nt':
487 checkosfilename = checkwinfilename
479 checkosfilename = checkwinfilename
488 from windows import *
480 from windows import *
General Comments 0
You need to be logged in to leave comments. Login now