#2525 cli: load plugins also from /usr/lib64
Merged 2 years ago by tkopecek. Opened 2 years ago by tkopecek.
tkopecek/koji issue2524  into  master

file modified
+6 -4
@@ -74,11 +74,13 @@ 

        before"""

  

      logger = logging.getLogger('koji.plugins')

-     paths = []

      # first, always load plugins from koji_cli_plugins module

-     paths.append(

-         '%s/lib/python%s.%s/site-packages/koji_cli_plugins' %

-         (sys.prefix, sys.version_info[0], sys.version_info[1]))

+     paths = [

+          '%s/lib/python%s.%s/site-packages/koji_cli_plugins' %

+         (sys.prefix, sys.version_info[0], sys.version_info[1]),

+         '%s/lib64/python%s.%s/site-packages/koji_cli_plugins' %

+         (sys.prefix, sys.version_info[0], sys.version_info[1])

+     ]

      # second, always load plugins from ~/.koji/plugins

      paths.append(os.path.expanduser('~/.koji/plugins'))

      # finally, update plugin_paths to the list

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

2 years ago

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

2 years ago

pretty please pagure-ci rebuild

2 years ago

Commit 041de1a fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago
Metadata