Skip to content

Commit 9c26d6b

Browse files
mshaileshr@gmail.commshaileshr@gmail.com
authored andcommitted
v1.1.0 coverage improved
1 parent fedd8a7 commit 9c26d6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contentstack/assetquery.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ def environment(self, environment):
4141
>>> result = stack.asset_query().environment('production').find()
4242
------------------------------
4343
"""
44-
if environment is not None and environment is not '' and isinstance(environment, str):
44+
if isinstance(environment, str):
4545
self.http_instance.headers['environment'] = environment
46-
# self.__query_params["environment"] = environment
4746
return self
4847

4948
def version(self, version):

0 commit comments

Comments
 (0)