From 1df0518c9cdae1fd555c5871b3f33bb5c2768d82 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Mon, 22 Oct 2012 13:56:16 -0400 Subject: bcfg2-crypt: improved error message --- src/sbin/bcfg2-crypt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 """ -- cgit v1.2.3-1-g7c22