aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriit Laes <plaes@plaes.org>2010-08-12 10:28:14 +0300
committerPriit Laes <plaes@plaes.org>2010-08-12 10:28:14 +0300
commit800366de588ed8fd012eb363133370798d1e4518 (patch)
treeb8e472669699c548a78c1a6857ae5905a9892d86
parentCleaned up and added standard header for grumpy.vdb.gnome (diff)
downloadgsoc2010-grumpy-800366de588ed8fd012eb363133370798d1e4518.tar.gz
gsoc2010-grumpy-800366de588ed8fd012eb363133370798d1e4518.tar.bz2
gsoc2010-grumpy-800366de588ed8fd012eb363133370798d1e4518.zip
Cleaned up and added standard header for grumpy.vdb.pypi
-rw-r--r--grumpy/vdb/pypi.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/grumpy/vdb/pypi.py b/grumpy/vdb/pypi.py
index b695e9b..decedfc 100644
--- a/grumpy/vdb/pypi.py
+++ b/grumpy/vdb/pypi.py
@@ -1,3 +1,13 @@
+# -*- coding: utf-8 -*-
+"""
+ grumpy.vdb.pypi
+ ~~~~~~~~~~~~~~~
+
+ This module contains version check lookups for packages in PyPi.
+
+ :copyright: (c) by 2010 Priit Laes.
+ :license: BSD, see LICENSE for details.
+"""
from lxml.html import fromstring
import urllib
@@ -45,4 +55,4 @@ class pypi_checker(object):
return items
if __name__ == '__main__':
- print PyPi().fetch_and_parse_all()
+ print pypi_checker().fetch_and_parse_all()