~udienz/sedot/test

« back to all changes in this revision

Viewing changes to lib/python/sedot/package.py

  • Committer: Mahyuddin Susanto
  • Date: 2009-03-07 01:52:25 UTC
  • Revision ID: udienz@unej.ac.id-20090307015225-cxkwsa06voozjzij
add documentation
sync with main branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
                        f = open(fname)
80
80
                        for line in f.readlines():
81
81
                                line = line.strip()
82
 
                                if line[0] != '#':
 
82
                                if len(line) > 0 and line[0] != '#':
83
83
                                        return line
84
84
                
85
85
                return None