blob: 9d4faa7aacb8ce664913fbfcba581ad0ca6e3879 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import os, sys
class system:
def __init__(self):
self.autodir = os.environ['AUTODIR']
self.resultdir = self.autodir + '/results'
self.tmpdir = self.autodir + '/tmp'
if not os.path.isdir(self.resultdir):
os.mkdir(self.resultdir)
if not os.path.isdir(self.tmpdir):
os.mkdir(self.tmpdir)
return None
def boot(self, tag=None):
print "I OUGHT TO REBOOT NOW!"
|