Skip to content

Instantly share code, notes, and snippets.

@jrmoserbaltimore
Last active December 18, 2015 14:29
Show Gist options
  • Save jrmoserbaltimore/5797458 to your computer and use it in GitHub Desktop.
Save jrmoserbaltimore/5797458 to your computer and use it in GitHub Desktop.
if date <= x.lastplay:
if verbose:
print 'Current date is not newer than logged!'
if force:
print 'Forcing anyway.'
else
print 'Skipping entry.'
if not force:
session.rollback()
continue
if date <= x.lastplay:
if verbose:
print 'Current date is not newer than logged!'
if verbose and force:
print 'Forcing anyway.'
elif verbose and not force:
print 'Skipping entry.'
if not force:
session.rollback()
continue
if date <= x.lastplay:
if verbose:
print 'Current date is not newer than logged!'
if not force:
if verbose:
print 'Skipping entry.'
session.rollback()
continue
if verbose:
print 'Forcing anyway.'
if date <= x.lastplay:
if verbose:
print 'Current date is not newer than logged!'
if force:
print 'Forcing anyway.'
if not force:
if verbose:
print 'Skipping entry.'
session.rollback()
continue
if date <= x.lastplay:
if verbose:
print 'Current date is not newer than logged!'
if not force:
if verbose:
print 'Skipping entry.'
session.rollback()
continue
if verbose:
print 'Forcing anyway.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment