GitLab now enforces expiry dates on tokens that originally had no set expiration date. Those tokens were given an expiration date of one year later. Please review your personal access tokens, project access tokens, and group access tokens to ensure you are aware of upcoming expirations. Administrators of GitLab can find more information on how to identify and mitigate interruption in our documentation.
logging.info('Connecting to virtual vending machine on %s:%d'%(options.host,options.port))
...
...
@@ -449,7 +450,9 @@ def parse_args():
op=OptionParser(usage="%prog [OPTION]...")
op.add_option('-f','--config-file',default='/etc/dispense/servers.conf',metavar='FILE',dest='config_file',help='use the specified config file instead of /etc/dispense/servers.conf')
op.add_option('--virtualvend',action='store_false',default=True,dest='use_lat',help='use the virtual vending server instead of LAT')
op.add_option('--serial',action='store_true',default=True,dest='use_serial',help='use the serial port')
op.add_option('--virtualvend',action='store_false',default=True,dest='use_serial',help='use the virtual vending server instead of LAT')
op.add_option('-n','--hostname',dest='host',default='localhost',help='the hostname to connect to for virtual vending machine mode (default: localhost)')
op.add_option('-p','--port',dest='port',default=5150,type='int',help='the port number to connect to (default: 5150)')
op.add_option('-l','--log-file',metavar='FILE',dest='log_file',default='',help='log output to the specified file')