Changeset 145

Show
Ignore:
Timestamp:
04/20/08 20:29:08 (3 months ago)
Author:
njriley
Message:

fix comments

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sucrose/trunk/python/dummy.py

    r113 r145  
    11#!/usr/bin/env python 
    22 
    3 import serial 
    4 import re 
    5 import sys 
    6  
    73from api import sucrose, authenticator 
    8 from mysql import db 
    94 
    105""" 
    11 Authenticate on a physical cardswipe 
     6Dummy authenticator for testing. 
    127""" 
    138 
    14 class Cardswipe(authenticator.Authenticator): 
     9class DummyAuthenticator(authenticator.Authenticator): 
    1510 
    1611        def authenticate_purchase(self, location): 
    17                 return True # XXX wit, fix it 
     12                return True 
    1813 
    1914        def authenticated_user(self):