Permalink
Browse files

Pose some troubling questions as comments.

  • Loading branch information...
1 parent 038332e commit 5ef4e83d0ba08a5142a45e146775ec1833fc05a9 @erikrose erikrose committed Mar 14, 2013
Showing with 3 additions and 1 deletion.
  1. +2 −0 dxr/server_utils.py
  2. +1 −1 tests/test_basic/makefile
View
@@ -5,6 +5,7 @@
# Load trilite
+# TODO: Why do both this and load_trilite() exist?
_trilite_loaded = False
def load_tokenizer():
global _trilite_loaded
@@ -28,6 +29,7 @@ def _collate_loc(str1, str2):
return cmp(parts1, parts2)
# Get database connection for tree
+# TODO: Why do both this and connect_database() exist?
def connect_db(tree, instance_path):
load_tokenizer()
dbname = os.path.join(instance_path, 'trees', tree, '.dxr-xref.sqlite')
@@ -5,7 +5,7 @@ all:
# Navigate into the DXR folder, build using config file
LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:../../trilite dxr-build.py test.config
# Launch test server at port 8000:
- # ../../bin/dxr-serve.py target
+ # dxr-serve.py target
clean:
rm -rf test.config
rm -rf temp

0 comments on commit 5ef4e83

Please sign in to comment.