Remove an unnecessary elif.
This commit is contained in:
parent
ff00673d19
commit
3af41d5a93
@ -122,9 +122,6 @@ def get_target_paths(to_dir):
|
|||||||
if filename.endswith('~'):
|
if filename.endswith('~'):
|
||||||
print 'Skipping %s' % filename
|
print 'Skipping %s' % filename
|
||||||
continue
|
continue
|
||||||
elif filename in ['.gitignore','.git','README','makelinks']:
|
|
||||||
print 'Skipping %s' % filename
|
|
||||||
continue
|
|
||||||
elif (not os.path.isfile(path)) and (not os.path.isdir(path)):
|
elif (not os.path.isfile(path)) and (not os.path.isdir(path)):
|
||||||
print 'Skipping %s (not a file or directory)' % filename
|
print 'Skipping %s (not a file or directory)' % filename
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user