comparison python/find_duplicate_files.py @ 801:bea4dd61ae45

cleanup
author Jeff Hammel <k0scist@gmail.com>
date Fri, 28 Oct 2016 16:14:10 -0700
parents dbd2562cb03e
children aa9a3850ed56
comparison
equal deleted inserted replaced
800:8275fa887f2b 801:bea4dd61ae45
30 def validate(self, options): 30 def validate(self, options):
31 """validate options""" 31 """validate options"""
32 if not os.path.isdir(options.directory): 32 if not os.path.isdir(options.directory):
33 self.error("Not a directory: {}".format(options.directory)) 33 self.error("Not a directory: {}".format(options.directory))
34 34
35
35 def main(args=sys.argv[1:]): 36 def main(args=sys.argv[1:]):
36 """CLI""" 37 """CLI"""
37 38
38 # parse command line options 39 # parse command line options
39 parser = DuplicateFilesParser() 40 parser = DuplicateFilesParser()