]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commit
fix invalid boolean return value for is_tarfile
authorAlfredo Deza <adeza@redhat.com>
Wed, 9 Sep 2015 13:20:41 +0000 (09:20 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 9 Sep 2015 13:20:41 +0000 (09:20 -0400)
commit766ae764a9c770c5dbd7c19d4da077b9f0b7a7d0
treea341bd6c3f4135648b7f79c847906670ddc5bd13
parent96645dab362d4a3138cd76e84e0ae038b05b89d8
fix invalid boolean return value for is_tarfile

Because `not 1` in Python will return False, not 0. By cohercing to
int again, we do get the 1 or 0 value the script is looking for

Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-build/build/setup_pbuilder