Update Copyright year to 2017.

This commit is contained in:
Arun Prakash Jana 2017-01-01 19:55:10 +05:30
parent 7c8eab98e0
commit 302ddc98d2
4 changed files with 10 additions and 9 deletions

View File

@ -459,4 +459,4 @@ Pull requests are welcome. Please visit [#103](https://github.com/jarun/Buku/iss
## Copyright
Copyright © 2015-2016 [Arun Prakash Jana](mailto:engineerarun@gmail.com)
Copyright © 2015-2017 [Arun Prakash Jana](mailto:engineerarun@gmail.com)

2
buku.1
View File

@ -502,7 +502,7 @@ Arun Prakash Jana <engineerarun@gmail.com>.
.SH REPORTING BUGS
.I https://github.com/jarun/Buku/issues
.SH LICENSE
Copyright \(co 2015-2016 Arun Prakash Jana <engineerarun@gmail.com>.
Copyright \(co 2015-2017 Arun Prakash Jana <engineerarun@gmail.com>.
.PP
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
.br

13
buku.py
View File

@ -2,7 +2,7 @@
#
# Bookmark management utility
#
# Copyright (C) 2015-2016 Arun Prakash Jana <engineerarun@gmail.com>
# Copyright © 2015-2017 Arun Prakash Jana <engineerarun@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -325,6 +325,7 @@ class BukuCrypt:
class BukuDb:
'''Abstracts all database operations'''
def __init__(self, json=False, field_filter=0, chatty=False, dbfile=None):
'''Database initialization API
@ -1530,7 +1531,7 @@ symbols:
Version %s
© 2015-2016 Arun Prakash Jana <engineerarun@gmail.com>
Copyright © 2015-2017 Arun Prakash Jana <engineerarun@gmail.com>
License: GPLv3
Webpage: https://github.com/jarun/Buku
''' % __version__)
@ -2384,7 +2385,7 @@ def main():
# Initialize the database and get handles, set verbose by default
bdb = BukuDb(args.json, args.format, not args.tacit)
# Add a record
# Add record
if args.add is not None:
# Parse tags into a comma-separated string
tags = DELIM
@ -2454,7 +2455,7 @@ def main():
if interrupted:
break
# Search operations
# Search record
search_results = None
search_opted = True
@ -2494,7 +2495,7 @@ def main():
if args.delete is not None and len(args.delete) == 0:
bdb.delete_resultset(search_results)
# Delete record(s)
# Delete record
if args.delete is not None:
if len(args.delete) == 0:
# Attempt delete-all only if search was not opted
@ -2527,7 +2528,7 @@ def main():
except ValueError:
logerr('Invalid index or range')
# Print records
# Print record
if args.print is not None:
if len(args.print) == 0:
bdb.print_rec(0)

View File

@ -232,7 +232,7 @@ Upstream-Contact: $DEBFULLNAME <$DEBEMAIL>
Source: https://github.com/jarun/Buku
Files: *
Copyright: 2015, 2016 Arun Prakash Jana
Copyright: 2015-2017 Arun Prakash Jana
License: GPL-3
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License version 3 as published by the Free