def touch_journal(filename):
 if (not os.path.exists(filename)):
  log.debug(u'Creating journal file %s', filename)
  util.prompt(u'[Journal created at {0}]'.format(filename))
  open(filename, u'a').close()

def touch_journal ( filename ) : if ( not os . path . exists ( filename ) ) : log . debug ( u'Creating journal file %s' , filename ) util . prompt ( u'[Journal created at {0}]' . format ( filename ) ) open ( filename , u'a' ) . close ( )
if filename does not exist .