Skip to content

Commit

Permalink
v2.7 check
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-contreras-deel committed May 28, 2019
1 parent d8644e5 commit 76877df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cartoframes/datasets/dataset_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ def privacy(self):

@privacy.setter
def privacy(self, privacy):
raise setting_value_exception('privacy', privacy)
raise CartoException(("Error setting {prop}. You must use the `update` method: "
"dataset_info.update({prop}='{value}')").format(prop='privacy', value=privacy))

@property
def name(self):
Expand Down

0 comments on commit 76877df

Please sign in to comment.