Commits

Michał Górny committed a6d8ca9

Fix finding int variables in config.

  • Participants
  • Parent commits 8b697e9

Comments (0)

Files changed (1)

smartliverebuild/config.py

 				except ValueError:
 					out.err('Incorrect boolean value: %s=%s' % (k, v))
 					val[k] = (self._real_defaults[k] == 'True')
-			elif k == 'jobs': # int
+			elif self._real_defaults[k] in ('0', '1'): # int
 				try:
 					val[k] = int(v)
 				except ValueError: