fix some imports; pushing bz2 bundles over http is currently untested
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Mon, 03 Dec 2007 11:58:29 +0100
changeset 5595 b95b2525c6e8
parent 5594 8623debad845
child 5596 20b07b68a865
fix some imports; pushing bz2 bundles over http is currently untested
mercurial/hgweb/hgweb_mod.py
mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/hgweb_mod.py	Sun Dec 02 21:54:56 2007 -0800
+++ b/mercurial/hgweb/hgweb_mod.py	Mon Dec 03 11:58:29 2007 +0100
@@ -6,7 +6,7 @@
 # This software may be used and distributed according to the terms
 # of the GNU General Public License, incorporated herein by reference.
 
-import os, mimetypes, re, mimetools, cStringIO, sys, urllib, bz2
+import os, mimetypes, re, mimetools, cStringIO
 from mercurial.node import *
 from mercurial import mdiff, ui, hg, util, archival, patch
 from mercurial import revlog, templater
--- a/mercurial/hgweb/webcommands.py	Sun Dec 02 21:54:56 2007 -0800
+++ b/mercurial/hgweb/webcommands.py	Mon Dec 03 11:58:29 2007 +0100
@@ -5,7 +5,7 @@
 # This software may be used and distributed according to the terms
 # of the GNU General Public License, incorporated herein by reference.
 
-import cStringIO, zlib, tempfile, errno, os, sys
+import cStringIO, zlib, bz2, tempfile, errno, os, sys
 from mercurial import revlog, util, streamclone
 from mercurial.i18n import gettext as _
 from mercurial.node import *