aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/develop/dp.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-11-20 23:10:12 -0500
committerRalph Amissah <ralph@amissah.com>2014-12-08 00:18:15 -0500
commit802c36252a6a8d652970ef207e36ed1bc09be0a7 (patch)
treec7e045a6005227fa8c266b26248c4df59efda738 /lib/sisu/develop/dp.rb
parentd: in dp (param) project_details used instead of sisu_version (diff)
d: misc mostly minor
* html endnote segment, heading endnote, link back to html scroll * epub endnote segment fails, issue with match, fix * dp, remark if no existing option selected
Diffstat (limited to 'lib/sisu/develop/dp.rb')
-rw-r--r--lib/sisu/develop/dp.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/sisu/develop/dp.rb b/lib/sisu/develop/dp.rb
index d5a72817..68f8c610 100644
--- a/lib/sisu/develop/dp.rb
+++ b/lib/sisu/develop/dp.rb
@@ -146,8 +146,13 @@ module SiSU_Param
@@md=@md
else @@md
end
- @@md.opt=@opt
- @@md
+ begin
+ @@md.opt=@opt
+ @@md
+ rescue
+ SiSU_Utils::CodeMarker.new(__LINE__,__FILE__,:fuchsia).mark('has an existing option been selected?')
+ exit
+ end
end
class MdDefault
def rights(author,date)