Fixed typo
authorEd Bartosh <eduard.bartosh@intel.com>
Wed, 13 Jun 2012 09:14:20 +0000 (12:14 +0300)
committerEd Bartosh <eduard.bartosh@intel.com>
Wed, 13 Jun 2012 09:14:20 +0000 (12:14 +0300)
Change-Id: I05430a237963fb41e8d8adc0ce11bbddb1c776fa

gbp/rpm/__init__.py

index 2af6ee832f570b6a4f3d6bcc793276698b030cf0..744888b90df3c09f4564b290b2960008c8431ddf 100644 (file)
@@ -223,7 +223,7 @@ class SpecFile(object):
         # get patches
         for (name, num, typ) in self.specinfo.sources:
             # workaround rpm parsing bug
-            num == sys.maxint:
+            if num == sys.maxint:
                 num = 0
             # only add files of patch type
             if typ == 2: