[go: up one dir, main page]

Menu

[899825]: / command / QuitCommand.py  Maximize  Restore  History

Download this file

15 lines (10 with data), 234 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
import sys
class QuitCommand:
triggers = ("q", "quit")
def __init__(self):
pass
def execute(self, context, *params):
print "Bye"
sys.exit()
def getTriggers(self):
return self.triggers