else:
ml_conf = ml_conf_file = None
-if __name__ == '__main__':
+
+def test():
print "Config dirs:", config_dirs
print "Config file:", ml_conf_file
+
+if __name__ == '__main__':
+ test()
return
-if __name__ == '__main__':
+def test():
print "DB dirs:", db_dirs
if db_uri:
print "DB URI:", db_uri
+
+if __name__ == '__main__':
+ test()
return sqlhub.doInTransaction(_import_data)
-if __name__ == '__main__':
+def test():
ml_dir = os.path.dirname(__file__)
print parse_glst_file(os.path.join(ml_dir, 'data', 'genres_fb2.glst'))
+
+if __name__ == '__main__':
+ test()