#7 Fix Deprecation warning during fedpkg update run
Merged 8 years ago by ausil. Opened 9 years ago by kumarpraveen.
kumarpraveen/fedpkg fix_DeprecationWarning  into  master

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

              self.log.error('No bodhi update details saved!')

              sys.exit(1)

          # If the template was changed, submit it to bodhi

-         hash = self.cmd._hash_file('bodhi.template', 'sha1')

+         hash = self.cmd.lookasidecache.hash_file('bodhi.template', 'sha1')

          if hash != orig_hash:

              try:

                  self.cmd.update('bodhi.template')

no initial comment
Metadata