diff --git a/mercurial_keyring.py b/mercurial_keyring.py --- a/mercurial_keyring.py +++ b/mercurial_keyring.py @@ -51,6 +51,13 @@ backend (by default keyring guesses, usu you get KDE Wallet under KDE, and Gnome Keyring under Gnome or Unity). ''' +import urllib2 +import smtplib +import socket +import os +import sys +import re + from mercurial import util, sslutil from mercurial.i18n import _ from mercurial.url import passwordmgr @@ -58,13 +65,6 @@ from mercurial import mail from mercurial.mail import SMTPS, STARTTLS from mercurial import encoding -import urllib2 -import smtplib -import socket -import os -import sys -import re - # pylint: disable=invalid-name, line-too-long, protected-access, too-many-arguments ########################################################################### @@ -140,7 +140,6 @@ def import_keyring(): meu.disable_logging("keyring") return mod - ################################################################# # Actual implementation #################################################################