Skip to content

Commit

Permalink
Multiple definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
grammarware committed Feb 26, 2013
1 parent 7a473ca commit 6b908fa
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
4 changes: 2 additions & 2 deletions WikiPage.py
Expand Up @@ -37,9 +37,9 @@ def __init__(self, fname):
self.addValue(cur,'Terms',z)
continue
wrds = line.split(': ')
if len(wrds) == 2:
if len(wrds) > 1:
lhs = wrds[0].split('* ')[1]
rhs = wrds[1].strip()
rhs = ': '.join(wrds[1:]).strip()
# TODO: decide whether this is a temporary fix or a robustness invariant
if rhs.startswith('_') and rhs.endswith('_'):
rhs = rhs[1:-1]
Expand Down
16 changes: 16 additions & 0 deletions com.sh
@@ -0,0 +1,16 @@
#!/bin/sh

echo $@ > commit.msg
./genHome.py
cd wiki
git add -A
git commit -F ../commit.msg
cd ..
./md2html.py
cd up
git add -A
git commit -F ../commit.msg
cd ..
git add *.py *.sh up wiki
git commit -F commit.msg
rm commit.msg
2 changes: 1 addition & 1 deletion up
Submodule up updated from ae792e to 6897a2
2 changes: 1 addition & 1 deletion wiki
Submodule wiki updated from 176a50 to 4fa5d0

0 comments on commit 6b908fa

Please sign in to comment.