Skip to content

Commit

Permalink
Fix for Registry object_names disappearing after a merge.
Browse files Browse the repository at this point in the history
darcs-hash:20090508001259-f1522-5053df34b21c8b155a57592aea96caee2ee85a86.gz
  • Loading branch information
scudette committed May 8, 2009
1 parent d402124 commit 700878c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/pyflag/Registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ def sort_function(x,y):

self.classes.sort(sort_function)
self.class_names = [ self.get_name(i) for i in self.classes ]
self.object_names = [ i.__dict__.get("name") for i in self.classes ]
self.class_names_ex = [ self.get_class_name(i) for i in self.classes ]
self.scanners = self.class_names

Expand Down
4 changes: 2 additions & 2 deletions tests/pyflag
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ INSTALL_DIR=/var/tmp/build/pyflag/

######### END CONFIGURATION ####################

export PYTHONPATH=$SRC_DIR/src/pyflag:$SRC_DIR/src/:/usr/loca/lib/python2.6/site-packages/:$INSTALL_DIR/lib/python2.6/site-packages/pyflag
export PYTHONPATH=$SRC_DIR/src/pyflag:$SRC_DIR/src/:/usr/loca/lib/python2.6/site-packages/:$INSTALL_DIR/lib/python2.6/site-packages/pyflag:/usr/loca/lib/python2.5/site-packages/:$INSTALL_DIR/lib/python2.5/site-packages/pyflag

exec /usr/bin/python2.6 $SRC_DIR/src/pyflag/FlagHTTPServer.py --plugins=$SRC_DIR/src/plugins $@
exec /usr/bin/python $SRC_DIR/src/pyflag/FlagHTTPServer.py --plugins=$SRC_DIR/src/plugins $@

0 comments on commit 700878c

Please sign in to comment.