[padb-devel] [padb] r173 committed - Quote integer values when using them to set default values in $conf

codesite-noreply at google.com codesite-noreply at google.com
Fri Sep 4 20:55:36 BST 2009


Revision: 173
Author: apittman
Date: Fri Sep  4 12:55:00 2009
Log: Quote integer values when using them to set default values in $conf

http://code.google.com/p/padb/source/detail?r=173

Modified:
  /branches/cleanup/src/padb

=======================================
--- /branches/cleanup/src/padb	Thu Sep  3 14:06:55 2009
+++ /branches/cleanup/src/padb	Fri Sep  4 12:55:00 2009
@@ -381,7 +381,7 @@
  $conf{check_signon} = 'all';

  # Output options.
-$conf{interval}            = 10;
+$conf{interval}            = '10';
  $conf{watch_clears_screen} = 1;
  $conf{scripts}             = 'bash,sh,dash,ash,perl,xterm';
  $conf{lsf_job_offset}      = 1;
@@ -395,8 +395,8 @@
  #$conf{"show-all-groups"}     = 0;

  # Tuning options.
-$conf{prun_timeout}     = 120;
-$conf{prun_exittimeout} = 120;
+$conf{prun_timeout}     = '120';
+$conf{prun_exittimeout} = '120';
  $conf{rmgr}             = undef;

  $conf{slurm_job_step} = 0;
@@ -410,7 +410,7 @@
  # Option to define a list of ports used by padb.
  $conf{port_range} = undef;

-$conf{tree_width} = 4;
+$conf{tree_width} = '4';

  my $norc       = 0;
  my $configfile = '/etc/padb.conf';




More information about the padb-devel mailing list