On 07/08/2010 06:58 PM, Brian C. Lane wrote:
+ if subdir == 'loader' or subdir == 'po' or \
+ subdir =='scripts' or subdir == 'command-stubs' or \
+ subdir == 'tests' or subdir == 'bootdisk' or \
+ subdir == 'docs' or subdir == 'fonts' or \
+ subdir == 'utils' or subdir == 'gptsync' or \
+ subdir == 'liveinst':
continue
else:
sys.stdout.write("Including %s\n" % (file,))
Looks good to me, although since we're changing things :)
Instead of a big long list of or's I kinda like using in and a list or
tuple:
if subdir in ('loader', 'po', 'scripts', ...)
Fixed and pushed. Thanks!
Ales
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list