commit | 92d0d348ccc3ed894af9edc20f6388df57fb6bde | [log] [tgz] |
---|---|---|
author | Ales Komarek <ales.komarek@tcpcloud.eu> | Wed Sep 14 19:32:17 2016 +0200 |
committer | Ales Komarek <ales.komarek@tcpcloud.eu> | Wed Sep 14 19:32:17 2016 +0200 |
tree | 986ce7e641dd9e6b6c8bcfbb27fc22b4834b573f | |
parent | b0fcc25ee538272cbc70dd04478f6128b7a64392 [diff] [blame] |
Fix virtual function
diff --git a/_modules/gerrit.py b/_modules/gerrit.py index db3cdcb..8db9e4a 100644 --- a/_modules/gerrit.py +++ b/_modules/gerrit.py
@@ -35,8 +35,6 @@ import logging import os import urllib - -import pygerrit.rest import requests.auth LOG = logging.getLogger(__name__) @@ -45,6 +43,7 @@ HAS_GERRIT = False try: from gerritlib import gerrit + import pygerrit.rest HAS_GERRIT = True except ImportError: pass