Added the version of Python I've tested with.
I'm working on making sure it works in Python 3.4.0
This commit is contained in:
parent
80163cd15c
commit
1f4b52e3a9
|
@ -1,5 +1,8 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf8 -*-
|
# -*- coding: utf8 -*-
|
||||||
|
# author : Brian Ernst
|
||||||
|
# python_version : 2.7.6
|
||||||
|
# =================================
|
||||||
|
|
||||||
# todo: have a backup feature, make sure files are moved to the recycle bin or a temporary file.
|
# todo: have a backup feature, make sure files are moved to the recycle bin or a temporary file.
|
||||||
# todo: switch to faster method of calling p4 fstat on an entire directory and parsing it's output
|
# todo: switch to faster method of calling p4 fstat on an entire directory and parsing it's output
|
||||||
|
@ -23,7 +26,7 @@ def PressEnter( ):
|
||||||
def main( ):
|
def main( ):
|
||||||
# check requirement
|
# check requirement
|
||||||
if os.system( 'p4 > Nul' ) != 0:
|
if os.system( 'p4 > Nul' ) != 0:
|
||||||
print 'Perforce Command-line Client(p4) is required for this script.'
|
print( 'Perforce Command-line Client(p4) is required for this script.' )
|
||||||
sys.exit( 1 )
|
sys.exit( 1 )
|
||||||
|
|
||||||
# Files are added from .p4ignore
|
# Files are added from .p4ignore
|
||||||
|
|
Loading…
Reference in New Issue