Skip to content

Commit b7b38a4

Browse files
committed
Fixed example.
1 parent 7a6cf65 commit b7b38a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ part of nginx configuration file from a remote server::
185185

186186
# nginx.conf
187187

188-
python 'from urllib import URLopener';
189-
python 'URLopener().retrieve("http://127.0.0.1:8888/nginx.conf", "/tmp/nginx.conf")';
188+
python 'import urllib';
189+
python 'urllib.FancyURLopener().retrieve("http://127.0.0.1:8888/nginx.conf", "/tmp/nginx.conf")';
190190

191191
include /tmp/nginx.conf;
192192

0 commit comments

Comments
 (0)