Skip to content

Commit

Permalink
The attribute is named ostreesetup.nogpg.
Browse files Browse the repository at this point in the history
noGpg was removed over a year ago.  It's probably safe to assume no one has
that version of pykickstart in fresh installs anymore.
  • Loading branch information
clumens committed Jun 24, 2015
1 parent 8e65013 commit 73b3f4b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyanaconda/packaging/rpmostreepayload.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,7 @@ def install(self):

self._remoteOptions = {}

# Handle variations in pykickstart
if ((hasattr(ostreesetup, 'noGpg') and ostreesetup.noGpg) or
(hasattr(ostreesetup, 'nogpg') and ostreesetup.nogpg)):
if hasattr(ostreesetup, 'nogpg') and ostreesetup.nogpg:
self._remoteOptions['gpg-verify'] = GLib.Variant('b', False)

if flags.noverifyssl:
Expand Down

0 comments on commit 73b3f4b

Please sign in to comment.