equal
deleted
inserted
replaced
3 # Copyright 2005 Matt Mackall <mpm@selenic.com> |
3 # Copyright 2005 Matt Mackall <mpm@selenic.com> |
4 # |
4 # |
5 # This software may be used and distributed according to the terms |
5 # This software may be used and distributed according to the terms |
6 # of the GNU General Public License, incorporated herein by reference. |
6 # of the GNU General Public License, incorporated herein by reference. |
7 |
7 |
8 import os, sys, re, ConfigParser, util |
8 import os, ConfigParser |
|
9 from demandload import * |
|
10 demandload(globals(), "re socket sys util") |
9 |
11 |
10 class ui: |
12 class ui: |
11 def __init__(self, verbose=False, debug=False, quiet=False, |
13 def __init__(self, verbose=False, debug=False, quiet=False, |
12 interactive=True): |
14 interactive=True): |
13 self.cdata = ConfigParser.SafeConfigParser() |
15 self.cdata = ConfigParser.SafeConfigParser() |