From 2f1fd6f00ca8058c87472cad6c0201d43b30a703 Mon Sep 17 00:00:00 2001 From: Praveen Kumar Date: Oct 07 2015 10:25:35 +0000 Subject: Merge #7 `Fix Deprecation warning during fedpkg update run` --- diff --git a/src/fedpkg/cli.py b/src/fedpkg/cli.py index 0616040..aad0a6b 100644 --- a/src/fedpkg/cli.py +++ b/src/fedpkg/cli.py @@ -166,7 +166,7 @@ suggest_reboot=False 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')