trac (0.11.7-4) 60_fix_nameerror.dpatch

Summary

 trac/web/api.py |    2 ++
 1 file changed, 2 insertions(+)

    
download this patch

Patch contents

#! /bin/sh /usr/share/dpatch/dpatch-run
## 60_fix_nameerror.dpatch by <debacle@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: fix missing imports

@DPATCH@

diff -ur a/trac/web/api.py b/trac/web/api.py
--- a/trac/web/api.py	2010-08-04 22:33:12.000000000 +0200
+++ b/trac/web/api.py	2010-08-04 22:33:38.000000000 +0200
@@ -18,9 +18,11 @@
 from Cookie import CookieError, BaseCookie, SimpleCookie
 import cgi
 from datetime import datetime
+import errno
 import new
 import mimetypes
 import os
+import socket
 from StringIO import StringIO
 import sys
 import urlparse