diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-08-03 09:39:46 +0000 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-08-03 09:39:46 +0000 |
| commit | 7d126728ae138e08bfef5abd71de1e608ee7ea55 (patch) | |
| tree | 1d400ea4093bf6b1fe91638c1befc8e208b0cf91 | |
| parent | fe89d597e3f73c82488d17a8be8a8b8c900127ed (diff) | |
| download | python-apt-7d126728ae138e08bfef5abd71de1e608ee7ea55.tar.gz | |
* Open->open; added README
| -rw-r--r-- | apt/README | 9 | ||||
| -rw-r--r-- | apt/cache.py | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/apt/README b/apt/README new file mode 100644 index 00000000..d30a92bd --- /dev/null +++ b/apt/README @@ -0,0 +1,9 @@ +This is the python interface to libapt. The API is not stable yet. + + +Style Guides: +------------- + +Follow PEP08. + +Internal variables/methods are prefixed with a "_" (e.g. _foo). diff --git a/apt/cache.py b/apt/cache.py index 0579b655..39640da7 100644 --- a/apt/cache.py +++ b/apt/cache.py @@ -28,7 +28,7 @@ class Cache(object): """ Package cache object """ def __init__(self, progress=None): self._callbacks = {} - self.Open(progress) + self.open(progress) def _runCallbacks(self, name): """ internal helper to run a callback """ |
