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 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,8 @@
 | 
			
		|||
#!/usr/bin/python 
 | 
			
		||||
# -*- 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: 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( ):
 | 
			
		||||
    # check requirement
 | 
			
		||||
    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 )
 | 
			
		||||
 | 
			
		||||
    # Files are added from .p4ignore
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue