diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-10-17 16:30:38 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-10-17 16:30:38 +0000 |
commit | 826190fb4bcf8dd37ff99bcda075bcd086cc8847 (patch) | |
tree | 9413ea6c630b342bfae8266f0297e779a5241709 /common | |
parent | a9b571022bcd13399eb5aa10d1b390f952daeaa2 (diff) | |
download | drakwizard-826190fb4bcf8dd37ff99bcda075bcd086cc8847.tar drakwizard-826190fb4bcf8dd37ff99bcda075bcd086cc8847.tar.gz drakwizard-826190fb4bcf8dd37ff99bcda075bcd086cc8847.tar.bz2 drakwizard-826190fb4bcf8dd37ff99bcda075bcd086cc8847.tar.xz drakwizard-826190fb4bcf8dd37ff99bcda075bcd086cc8847.zip |
(commit) do not reinvent output()
Diffstat (limited to 'common')
-rw-r--r-- | common/Varspaceval.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/Varspaceval.pm b/common/Varspaceval.pm index e934ada2..0da4393c 100644 --- a/common/Varspaceval.pm +++ b/common/Varspaceval.pm @@ -11,6 +11,7 @@ package MDK::Wizard::Varspaceval; #use lib('./'); use strict; use Data::Dumper; +use MDK::Common; # Get all useful content of the config file # Return a hash containg the key and the value @@ -78,9 +79,7 @@ sub commit { #print "\n------------------\n"; # outputing the new conf - open(F, "> $file") or return; - print F $output; - close(F); + output($file, $output); } 1; |