Changeset 555 for pkpgcounter/trunk/pkpgpdls/plain.py
- Timestamp:
- 12/09/07 15:26:15 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/plain.py
r527 r555 33 33 required = [ "a2ps | enscript", "gs" ] 34 34 openmode = "rU" 35 format = "plain text" 35 36 def isValid(self) : 36 37 """Returns True if data is plain text, else False. … … 46 47 lines = lines[0].split("\n") 47 48 if len(lines) > 1 : 48 self.logdebug("DEBUG: Input file seems to be in the plain text format.")49 49 return True 50 50 else :