Submitter | Gregory Szorc |
---|---|
Date | March 19, 2016, 5:10 p.m. |
Message ID | <1f3d9fe592151d4eab21.1458407422@gps-mbp.local> |
Download | mbox | patch |
Permalink | /patch/13955/ |
State | Accepted |
Headers | show |
Comments
On 03/19/2016 10:10 AM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc <gregory.szorc@gmail.com> > # Date 1458407409 25200 > # Sat Mar 19 10:10:09 2016 -0700 > # Node ID 1f3d9fe592151d4eab21282e87628ef655c67daf > # Parent 1435a8e9b5fe38cfe900e0a75fefab046af73dd6 > sslutil: use preferred formatting for import syntax Pushed to the clowncopter, thanks.
Patch
diff --git a/mercurial/sslutil.py b/mercurial/sslutil.py --- a/mercurial/sslutil.py +++ b/mercurial/sslutil.py @@ -13,9 +13,12 @@ import os import ssl import sys from .i18n import _ -from . import error, util +from . import ( + error, + util, +) hassni = getattr(ssl, 'HAS_SNI', False) _canloaddefaultcerts = False