#! /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