Re: [master] makeupdates: treat files under pyanaconda/ individually.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux