- Support Python 3.x
This commit is contained in:
parent
c06a0a3a9a
commit
d3c5a5d767
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303771
@ -31,7 +31,10 @@
|
||||
import argparse
|
||||
import re
|
||||
import sys
|
||||
import urllib2
|
||||
if sys.version_info.major == 3:
|
||||
import urllib.request as urllib2
|
||||
else:
|
||||
import urllib2
|
||||
|
||||
"""
|
||||
FreeBSD getpatch handles Gnats and Bugzilla patch attachments
|
||||
|
Loading…
Reference in New Issue
Block a user