Skip to content
This repository was archived by the owner on May 9, 2020. It is now read-only.

Commit 347d9ad

Browse files
kamilbednarzfpedrini
authored andcommitted
Import needed class instead of the whole module
1 parent ef9962a commit 347d9ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chef/encrypted_data_bag_item.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
from chef.exceptions import ChefUnsupportedEncryptionVersionError, ChefDecryptionError
22
from chef.aes import AES256Cipher
33
from chef.utils import json
4+
from chef.data_bag import DataBagItem
45

56
import os
67
import hmac
78
import base64
89
import chef
910
import hashlib
1011

11-
class EncryptedDataBagItem(chef.DataBagItem):
12+
class EncryptedDataBagItem(DataBagItem):
1213
SUPPORTED_ENCRYPTION_VERSIONS = (1,2)
1314
AES_MODE = 'aes_256_cbc'
1415

0 commit comments

Comments
 (0)