All pastes #978595 Raw Edit

Stuff

public text v1 · immutable
·published 2008-04-09 18:01 UTC
rendered paste body
import datetime


spot_cred = 'P';
tag_cred = 'R';

new_A = ('D')
new_D = ('P','R')
new_P = ('A','D','R','G')

is_valid=0

index = 0

d = {'A': new_A, 'D': new_D, 'P': new_P}

n = datetime.datetime.now();

if n.hour >= 12 and n.minute > 0:	

	if tag_cred in d[spot_cred]:
			
		print "shite"

elif tag_cred == spot_cred:
	print 'it works'