Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
little bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
pasztorpisti committed May 4, 2015
1 parent 9530ce4 commit c294b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsoncfg/config_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def __getitem__(self, item):
if isinstance(item, numbers.Integral):
raise JSONConfigNodeTypeError(
self,
ConfigJSONObject,
ConfigJSONArray,
'You are trying to index into an object as if it was an array. index=%s' % (item,)
)
if not isinstance(item, my_basestring):
Expand Down

0 comments on commit c294b08

Please sign in to comment.