summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt/README9
-rw-r--r--apt/cache.py2
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 """