#97 No longer block on possible bad branch names.
Merged 7 months ago by tdawson. Opened 7 months ago by tdawson.
centos/ tdawson/centpkg fix-bugs-2  into  develop

file modified
+1 -1
@@ -92,7 +92,7 @@ 

                            DeprecationWarning)

          else:

              if not self.is_fork():

-                 raise ValueError("Branchname: {0} is not valid".format(branchtext))

+                 warnings.warn('Unable to determine if this is a fork or not. Proceeding, but you should double check.')

              else:

                  self.distrobranch = True

                  self.signame = 'centos'

This is because we cannot confidently check if we are pushing to a fork or not.
Instead give a warning, and proceed.

Signed-off-by: Troy Dawson tdawson@redhat.com

Pull-Request has been merged by tdawson

7 months ago
Metadata