File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -920,12 +920,3 @@ class DocumentWrapper(object):
920920 def __init__ (self , document ):
921921 self .document = document
922922
923- class Test (TestCase ):
924- def testDoctest (self ):
925- # doctests in models.py will be automatically tested when running
926- # django's 'test' command, but for other modules we need to make a
927- # bit of extra effort to have doctests run.
928- #import doctest
929- #import templatetags.ietf_filters
930- #doctest.testmod(templatetags.ietf_filters)
931- pass
Original file line number Diff line number Diff line change 1+ import doctest
2+ import templatetags .ietf_filters
3+
4+ class IDTrackerTest (TestCase ):
5+ def testDoctest (self ):
6+ # doctests in models.py will be automatically tested when running
7+ # django's 'test' command, but for other modules we need to make a
8+ # bit of extra effort to have doctests run.
9+
10+ #doctest.testmod(templatetags.ietf_filters)
11+ pass
Original file line number Diff line number Diff line change 44{% block search_result %}
55 < table cellpadding ="1 " cellspacing ="0 " border ="0 ">
66
7- {% if not iprs %}
8- < tr >
9- < td > </ td >
10- < td colspan ="2 "> < b > {% block search_failed %}No IPR disclosures were found related to < i > {{ doc }}</ i > {% endblock %}</ b > </ td >
11- </ tr >
12- {% else %}
137 < tr > < td colspan ="3 "> Total number of IPR disclosures found: {{ iprs|length }} </ td > </ tr >
148 {% for ipr in iprs|dictsort:"submitted_date" %}
159 < tr valign ="top " bgcolor ="#dadada ">
4438 {% endif %}
4539 </ tbody >
4640 {% endfor %}
47- {% endif %}
4841
4942 </ table >
5043{% endblock %}
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ svn info $REPO/tags/$VER 2>&1 | grep -q "Not a valid URL" || die "The tag '$VER'
164164note " Ok"
165165
166166note " Verifying there's no uncommitted changes..."
167- $do svn st | grep " ^[AMCG ] " && die " There seems to be uncommitted changes in this working copy"
167+ $do svn st | grep " ^[AMGRD ] " && die " There seems to be uncommitted changes in this working copy"
168168
169169note " \nUpdating the version info in $VERFILE and making sure'\$ Rev\$ ' is Ok"
170170$do sed -i -r -e " /^__version__/s/\" [.0-9]+(-dev)?\" /\" $VER \" /" \
Original file line number Diff line number Diff line change @@ -25,14 +25,12 @@ for dir in $DBLOCK /var/lock /var/state /var/run /var/tmp; do
2525done
2626[ " $lock " ] || die " Couldn't find a directory to keep lock in."
2727
28- set -x
2928[ " $DBDUMP " ] || DBDUMP=" $1 "
3029[ " $DBDUMP " ] || DBDUMP=/www/tools.ietf.org/events/raw/sqldump/sqldump.raw
3130[ " $DBFIX " ] || DBFIX=$build /test/sql_fixup.sql
3231[ " $DBTIME " ] || DBTIME=$state /update-db.time
3332[ " $DBDONE " ] || DBDONE=$state /update-db.done
3433[ " $DBLOCK " ] || DBLOCK=$lock
35- set +x
3634
3735PIDFILE=$DBLOCK /pid
3836
@@ -45,6 +43,7 @@ while true; do
4543 # echo "Last update done $(date -r $DBDONE +'%Y-%m-%d %H:%M')."
4644 if [ $DBDUMP -nt $DBTIME ]; then
4745 echo " Updating database dated $( date -r $DBDONE +' %Y-%m-%d %H:%M' ) from dump with time $( date -r $DBDUMP +' %Y-%m-%d %H:%M' ) "
46+ echo -n " Updating database from dump with time $( date -r $DBDUMP +' %Y-%m-%d %H:%M' ) ... " 1>&2
4847
4948 echo " $$ " > $PIDFILE
5049 chmod a+rw $PIDFILE
@@ -58,6 +57,7 @@ while true; do
5857 touch -r $DBDUMP $DBTIME
5958 touch $DBDONE
6059 echo " Done."
60+ echo " Done." 1>&2
6161 else
6262 echo " Database is up-to-date (updated $( date -r $DBDONE +' %Y-%m-%d %H:%M' ) from dump with time $( date -r $DBDUMP +' %Y-%m-%d %H:%M' ) )"
6363 fi
You can’t perform that action at this time.
0 commit comments