aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/cgi_sqlite.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-03 19:09:54 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-03 19:09:54 -0400
commit67e49a2b278b1512fb39a33a779f68a1389f9849 (patch)
treeb53682f4508b7a2a4a0c3042592b4f9f53f83975 /lib/sisu/v2/cgi_sqlite.rb
parentdal_numbering, heading auto-numbering, a fix (diff)
ansi, screen info related, arranging
Diffstat (limited to 'lib/sisu/v2/cgi_sqlite.rb')
-rw-r--r--lib/sisu/v2/cgi_sqlite.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/sisu/v2/cgi_sqlite.rb b/lib/sisu/v2/cgi_sqlite.rb
index 860d7bed..5c20b072 100644
--- a/lib/sisu/v2/cgi_sqlite.rb
+++ b/lib/sisu/v2/cgi_sqlite.rb
@@ -100,8 +100,7 @@ module SiSU_CGI_sqlite
a=%{ generated sisu_sqlite.cgi,
BASED ON ALREADY CREATED sisu_sqlite.db OUTPUT, (-d)
}
- tell=SiSU_Screen::Ansi.new(@opt.cmd,a)
- tell.print_grey
+ SiSU_Screen::Ansi.new(@opt.cmd,a).print_grey
c=case @webserv
when /pwd/; ''
else "if necessary make the directory /usr/lib/cgi-bin :
@@ -113,8 +112,7 @@ module SiSU_CGI_sqlite
#{@env.webserv_base_cgi}/cgi-bin/sisu_sqlite.cgi
}
b='(to create and populate sisu sqlite database see "man sisu" and in particular the -d flag)'
- tell=SiSU_Screen::Ansi.new(@opt.cmd,a,b)
- tell.warn
+ SiSU_Screen::Ansi.new(@opt.cmd,a,b).warn
else puts 'failed in attempt to write sisu_sqlite.cgi to present directory, is directory writable?'
end
end