diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-10-22 13:56:16 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-10-22 13:56:16 -0400 |
commit | 1df0518c9cdae1fd555c5871b3f33bb5c2768d82 (patch) | |
tree | 8f1ef5cbfdc37d2916e59ca4309868fd1e3473a7 | |
parent | 986217efa0794b608be70a53c2f83c312ae14665 (diff) | |
download | bcfg2-1df0518c9cdae1fd555c5871b3f33bb5c2768d82.tar.gz bcfg2-1df0518c9cdae1fd555c5871b3f33bb5c2768d82.tar.bz2 bcfg2-1df0518c9cdae1fd555c5871b3f33bb5c2768d82.zip |
bcfg2-crypt: improved error message
-rwxr-xr-x | src/sbin/bcfg2-crypt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-crypt b/src/sbin/bcfg2-crypt index 873d3564e..0693b430c 100755 --- a/src/sbin/bcfg2-crypt +++ b/src/sbin/bcfg2-crypt @@ -50,7 +50,7 @@ class Encryptor(object): try: return data[0] except IndexError: - raise EncryptionChunkingError + raise EncryptionChunkingError("No data to unchunk") def set_passphrase(self): """ set the passphrase for the current file """ |