diff options
author | Georg Brandl <georg@python.org> | 2011-06-19 09:49:29 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-06-19 09:49:29 +0200 |
commit | 852890b6165d2b58588a519b00a7ed7050acc0a2 (patch) | |
tree | 05c3ac382e9f0e55c0d8f396764429953cdb0502 /pygments/lexers/_postgres_builtins.py | |
parent | a275a0c40bc4dcd48f52e04e056d03cecb73e973 (diff) | |
download | pygments-852890b6165d2b58588a519b00a7ed7050acc0a2.tar.gz |
Add changelog entry and fixup imports in postgres module.
Diffstat (limited to 'pygments/lexers/_postgres_builtins.py')
-rw-r--r-- | pygments/lexers/_postgres_builtins.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/_postgres_builtins.py b/pygments/lexers/_postgres_builtins.py index 076a4cf3..0100bc2d 100644 --- a/pygments/lexers/_postgres_builtins.py +++ b/pygments/lexers/_postgres_builtins.py @@ -9,7 +9,7 @@ """ import re -import urllib2 +import urllib # One man's constant is another man's variable. SOURCE_URL = 'https://github.com/postgres/postgres/raw/master' @@ -96,7 +96,7 @@ def parse_pseudos(f): return dt def fetch(url): - return urllib2.urlopen(url) + return urllib.urlopen(url) def update_consts(filename, constname, content): f = open(filename) |