Skip to content

Commit 4e25407

Browse files
committed
Use python module instead of file path to settings file.
Switch back to using a temp file, since unflatten/gvpr don't like taking input straight from the while loop. - Legacy-Id: 226
1 parent 688b4fd commit 4e25407

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

ietf/bin/graphall

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
PYTHONPATH=`dirname $PWD`
77
export PYTHONPATH
8-
DJANGO_SETTINGS_MODULE=ietf/settings
8+
DJANGO_SETTINGS_MODULE=ietf.settings
99
export DJANGO_SETTINGS_MODULE
1010
for d in *
1111
do
1212
if grep models.Model $d/models.py > /dev/null 2>&1
1313
then
1414
python modelviz.py $d
1515
fi
16-
done | unflatten -f -l 10 | gvpr -c '
16+
done > models-base.dot
17+
unflatten -f -l 10 models-base.dot | gvpr -c '
1718
BEG_G {
1819
node_t title = node($G, "title");
1920
title.shape="parallelogram";

0 commit comments

Comments
 (0)