зеркало из https://github.com/mozilla/git-bz-moz.git
Remove spurious import that causes an error.
The import from auth causes an exception. That and the import from pickle are unused, so I removed them. Fixes #67.
This commit is contained in:
Родитель
16119bd9aa
Коммит
cbb73fce55
|
@ -26,10 +26,6 @@ import urllib2
|
|||
import json
|
||||
from mercurial import config, demandimport, util
|
||||
from mercurial.i18n import _
|
||||
try:
|
||||
import cPickle as pickle
|
||||
except:
|
||||
import pickle
|
||||
import bz
|
||||
import bzauth
|
||||
|
||||
|
@ -38,11 +34,6 @@ demandimport.disable()
|
|||
import requests
|
||||
demandimport.enable()
|
||||
|
||||
from auth import (
|
||||
getbugzillaauth,
|
||||
win_get_folder_path,
|
||||
)
|
||||
|
||||
# For some reason hgexport calls the user cache the INI_CACHE_FILENAME.
|
||||
INI_CACHE_FILENAME = ".gitbz.user.cache"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче