summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAuke Booij (tulcod) <auke@tulcod.com>2010-07-08 15:26:29 +0200
committerAuke Booij (tulcod) <auke@tulcod.com>2010-07-08 15:26:29 +0200
commitcc1b3bf69b970d6e152d1ff966433fb696885227 (patch)
tree3e7de36b64786c51c2dba0ed853fe9d6ed7bf77f /g_cran/filetricks.py
parentPDEPEND is a bit over the top (diff)
downloadg-cran-cc1b3bf69b970d6e152d1ff966433fb696885227.tar.gz
g-cran-cc1b3bf69b970d6e152d1ff966433fb696885227.tar.bz2
g-cran-cc1b3bf69b970d6e152d1ff966433fb696885227.zip
Add some more comment to the code
Diffstat (limited to 'g_cran/filetricks.py')
-rw-r--r--g_cran/filetricks.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/g_cran/filetricks.py b/g_cran/filetricks.py
index e42e059..de99f3b 100644
--- a/g_cran/filetricks.py
+++ b/g_cran/filetricks.py
@@ -1,4 +1,6 @@
-#!/usr/bin/python
+#we use this class to easily read the PACKAGES file
+#an empty line denotes a new package, but readline() usually
+#doesn't return empty lines
class EmptyLinesFile:
def __init__(self,myfile):
self.file=myfile