Show More
@@ -340,3 +340,11 def unlinkpath(f): | |||
|
340 | 340 | |
|
341 | 341 | def lookupreg(key, name=None, scope=None): |
|
342 | 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 def checkwinfilename(path): | |||
|
475 | 475 | return _("filename ends with '%s', which is not allowed " |
|
476 | 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 | 478 | if os.name == 'nt': |
|
487 | 479 | checkosfilename = checkwinfilename |
|
488 | 480 | from windows import * |
General Comments 0
You need to be logged in to leave comments.
Login now