summaryrefslogtreecommitdiffstats
path: root/Lib/webbrowser.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-01-04 23:22:44 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-01-04 23:22:44 (GMT)
commitb9d4963a989accce30234b7b74bce874c0142209 (patch)
tree63fa25095a756b9def7c84cf7eb88d68c2412e29 /Lib/webbrowser.py
parentb9c3ed4f82d3551c9906da55ddb8059ac3b5ce94 (diff)
downloadcpython-b9d4963a989accce30234b7b74bce874c0142209.zip
cpython-b9d4963a989accce30234b7b74bce874c0142209.tar.gz
cpython-b9d4963a989accce30234b7b74bce874c0142209.tar.bz2
Issue #7092: Fix the DeprecationWarnings emitted by the standard library
when using the -3 flag. Patch by Florent Xicluna.
Diffstat (limited to 'Lib/webbrowser.py')
-rw-r--r--Lib/webbrowser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index 74f0270..01922f4 100644
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -650,7 +650,7 @@ def main():
for o, a in opts:
if o == '-n': new_win = 1
elif o == '-t': new_win = 2
- if len(args) <> 1:
+ if len(args) != 1:
print >>sys.stderr, usage
sys.exit(1)