Commit cf8f4fd5 authored by Vincent Pelletier's avatar Vincent Pelletier

Prevent upgrader from using default ERP5Site_getUpgraderSignature.

This prevents accidental use of the default settings for upgrade. They should just serve as an illustration of upgrader use, never be used themselves.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45330 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 687f9870
...@@ -57,6 +57,9 @@ ...@@ -57,6 +57,9 @@
specification of an upgrader.\n specification of an upgrader.\n
"""\n """\n
\n \n
# Prevent unintended use of this script, as it would otherwise trigger an upgrade without possible site-specific settings.\n
raise Exception(\'This script is only an example. Copy, paste & customise it for your needs.\')\n
\n
# Alarm dict is used to enable/disable upgrade alarms.\n # Alarm dict is used to enable/disable upgrade alarms.\n
\n \n
ALARM_DICT = {\n ALARM_DICT = {\n
......
585 586
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment