mercurial/util.py
changeset 3877 abaee83ce0a6
parent 3860 8e907b86126b
child 3891 6b4127c7d52a
--- a/mercurial/util.py	Tue Dec 12 18:16:23 2006 -0600
+++ b/mercurial/util.py	Wed Dec 13 13:27:09 2006 -0600
@@ -13,9 +13,8 @@
 """
 
 from i18n import gettext as _
-from demandload import *
-demandload(globals(), "cStringIO errno getpass popen2 re shutil sys tempfile")
-demandload(globals(), "os threading time calendar ConfigParser locale")
+import cStringIO, errno, getpass, popen2, re, shutil, sys, tempfile
+import os, threading, time, calendar, ConfigParser, locale
 
 _encoding = os.environ.get("HGENCODING") or locale.getpreferredencoding() \
             or "ascii"
@@ -693,7 +692,7 @@
 
 # Platform specific variants
 if os.name == 'nt':
-    demandload(globals(), "msvcrt")
+    import msvcrt
     nulldev = 'NUL:'
 
     class winstdout: