aboutsummaryrefslogtreecommitdiffstats
path: root/BibTeX.py
diff options
context:
space:
mode:
Diffstat (limited to 'BibTeX.py')
-rw-r--r--BibTeX.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/BibTeX.py b/BibTeX.py
index d0f5624..750ca43 100644
--- a/BibTeX.py
+++ b/BibTeX.py
@@ -225,28 +225,6 @@ def sortEntriesByDate(entries):
-def _split(s,w=79,indent=8):
- r = []
- s = re.sub(r"\s+", " ", s)
- first = 1
- indentation = ""
- while len(s) > w:
- for i in xrange(w-1, 20, -1):
- if s[i] == ' ':
- r.append(indentation+s[:i])
- s = s[i+1:]
- break
- else:
- r.append(indentation+s.strip())
- s = ""
- if first:
- first = 0
- w -= indent
- indentation = " "*indent
- if (s):
- r.append(indentation+s)
- r.append("")
- return "\n".join(r)
class FileIter:
def __init__(self, fname=None, file=None, it=None, string=None):