witten
/
luminotes
Archived
1
0
Fork 0

* Wrote really basic password reset utility for the admin.

* Changed python2.4 bang line to python2.5 in tools/ directory.
 * Added some warnings about stopping the server before running various
   tools.
This commit is contained in:
Dan Helfman 2007-08-18 02:12:56 +00:00
parent 7973d87a7d
commit 13318ee807
4 changed files with 10 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python2.4
#!/usr/bin/python2.5
import os
import os.path

View File

@ -1,4 +1,4 @@
#!/usr/bin/python2.4
#!/usr/bin/python2.5
import os
import os.path
@ -82,6 +82,8 @@ class Initializer( object ):
def main():
print "IMPORTANT: Stop the Luminotes server before running this program."
if os.path.exists( "data.db" ):
os.remove( "data.db" )

View File

@ -1,4 +1,4 @@
#!/usr/bin/python2.4
#!/usr/bin/python2.5
import os
import os.path
@ -24,6 +24,8 @@ class Reloader( object ):
def main():
print "IMPORTANT: Stop the Luminotes server before running this program."
scheduler = Scheduler()
database = Database( scheduler, "data.db" )
initializer = Reloader( scheduler, database )

View File

@ -1,4 +1,4 @@
#!/usr/bin/python2.4
#!/usr/bin/python2.5
import os
import os.path
@ -91,6 +91,8 @@ class Initializer( object ):
def main( args ):
print "IMPORTANT: Stop the Luminotes server before running this program."
scheduler = Scheduler()
database = Database( scheduler, "data.db" )
initializer = Initializer( scheduler, database, args and args[ 0 ] or None )