Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Those exits should have been sys.exit(). Whoops./ |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | master |
Files: | files | file ages | folders |
SHA3-256: |
3735e6b8ec9feec49f818bdfd13845ad |
User & Date: | simon 2018-10-28 12:20:58 |
Context
2018-11-16
| ||
13:37 |
Add a load_or_new() method
Haven't really touched this in years so could do with starting to tidy this up | |
2018-10-28
| ||
12:20 | Those exits should have been sys.exit(). Whoops./ check-in: 3735e6b8ec user: simon tags: master, trunk | |
2018-10-18
| ||
20:13 | Update README to reflect --file and other recent changes. check-in: 36abba8d1a user: simon tags: master, trunk | |
Changes
Changes to snose.py.
︙ | ︙ | |||
26 27 28 29 30 31 32 | if not options.username or not options.password: #Check to see if stored somewhere try: options.username = netrc.netrc().authenticators("simple-note.appspot.com")[0] options.password = netrc.netrc().authenticators("simple-note.appspot.com")[2] except IOError as e: print('Username and password must be supplied or exist .netrc file under domain of simple-note.appspot.com') | | | | | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | if not options.username or not options.password: #Check to see if stored somewhere try: options.username = netrc.netrc().authenticators("simple-note.appspot.com")[0] options.password = netrc.netrc().authenticators("simple-note.appspot.com")[2] except IOError as e: print('Username and password must be supplied or exist .netrc file under domain of simple-note.appspot.com') sys.exit() snclient = simplenote.Simplenote(options.username, options.password) if options.snort: if options.file is None: print('--file required') sys.exit() snort(snclient, options.file) elif options.sniff: if options.filename is None: print('--file required') sys.exit() sniff(snclient, options.sniff, options.file) elif options.sneeze: sneeze(snclient, options.sneeze, options.file) elif options.blow: blow(snclient, options.blow) elif options.snot: snot(snclient) |
︙ | ︙ |