summaryrefslogtreecommitdiff
path: root/portato/db/exceptions.py
blob: 8a6e424f68dad112bcbd0b47f0b62d60679c0ed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- coding: utf-8 -*-
#
# File: portato/db/exceptions.py
# This file is part of the Portato-Project, a graphical portage-frontend.
#
# Copyright (C) 2006-2010 René 'Necoro' Neumann
# This is free software.  You may redistribute copies of it under the terms of
# the GNU General Public License version 2.
# There is NO WARRANTY, to the extent permitted by law.
#
# Written by René 'Necoro' Neumann <necoro@necoro.net>

class DatabaseError (Exception):
    pass

class UnknownDatabaseTypeError (DatabaseError):
    pass

class DatabaseInstantiationError (DatabaseError):
    pass

class UnsupportedSearchTypeError(DatabaseError):
    pass
ore means that *.gpg files (and directories named *.gpg) are kept under .git/… (non-writable), the reencryption logic used by pass currently fails. To remedy this, we now ignore everything kept under .git when looking for files to reencrypt or when grepping. 2017-02-25tests: fix for recent changesJason A. Donenfeld3-2/+18 2017-02-25keepasss2csv2pass: improve and make more flexibleNathan Sommer1-52/+176 - Code is now PEP 8 compliant - Uses argparse module for command line arguments - Prints what it will do and prompts for confirmation before proceeding - Does not put URL and notes fields in the entry unless they are present in the CSV file - Adds a "user" field in the entry - There are now command line arguments for the following: - Exclude specific groups from being imported - Convert groups and names to lowercase - Use the name of the KeePass entry rather than the username as the pass entry name 2017-01-01show,generate: support qrcodesJason A. Donenfeld4-20/+65 2016-12-21makefile: proper use of DESTPATHJason A. Donenfeld1-6/+6 2016-12-21extensions: introduce system extensionsJason A. Donenfeld2-7/+16 2016-12-211password2pass: modernizationAlex Dunn1-15/+23 2016-12-21extensions: make opt-inJason A. Donenfeld2-15/+22 2016-12-21Add signaturesJason A. Donenfeld2-0/+31 2016-12-20Add extensionsJason A. Donenfeld2-3/+27 2016-12-20generate: use /dev/urandom directlyJason A. Donenfeld4-14/+28 Passing to tr using the "pick and discard" technique is more straight- forwardly correct and less error-prone. It also allows users to select their own character sets to be passed to tr. 2016-02-07dmenu: read likes -rJason A. Donenfeld1-1/+1 2016-02-06zsh-completion: add prefix zstyleBenjamin Richter1-1/+11 This option can be used to select a different pass repository for completion. A configuration example is given inside the completion file. 2016-02-06Make gpg errors fatalJason A. Donenfeld1-5/+5 2016-02-06Moved to webpageJason A. Donenfeld1-7/+0