From a9b984021af0544e2bb2ef082ba0c119f38b4460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 16 Dec 2016 15:32:31 +0100 Subject: dia2pg: do not require 'opt'=1, just 'opt' --- dia2pg.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dia2pg.rb b/dia2pg.rb index 3937da4..2179305 100755 --- a/dia2pg.rb +++ b/dia2pg.rb @@ -103,7 +103,7 @@ class Table # def no_export? return false if @comment.nil? - @comment=~/no_export=1/ + @comment=~/no_export/ end # def << a @@ -189,17 +189,17 @@ class Attribute # def no_rename? return false if @comment.nil? - @comment=~/no_rename=1/ + @comment=~/no_rename/ end # def no_prefix? return false if @comment.nil? - @comment=~/no_prefix=1/ + @comment=~/no_prefix/ end # def no_export? return false if @comment.nil? - @comment=~/no_export=1/ + @comment=~/no_export/ end # def default -- cgit v1.1-2-g2b99