From: Mart Lubbers Date: Mon, 5 May 2014 11:45:33 +0000 (+0200) Subject: test X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=92b5c372b84a32345004461325c27695bdbf1f34;p=bsc-thesis1415.git test --- diff --git a/program/hypcrawl/hypcrawl.py b/program/hypcrawl/hypcrawl.py index 2648982..b34c3b7 100644 --- a/program/hypcrawl/hypcrawl.py +++ b/program/hypcrawl/hypcrawl.py @@ -1,4 +1,4 @@ -/bin/env python +#!/bin/env python # -*- coding: utf-8 -*- import codecs @@ -6,7 +6,6 @@ import itertools as it import re import sys - def parseconfig(filepath, enc='utf-8', com='#'): inp = sys.stdin if filepath == '-' else codecs.open(filepath, 'r', enc) pattern = re.compile('^\s*(?P\S+)\t(?P[^{0}]*[^{0}\s])'.format(com))