[Jifty-commit] r6130 - in Net-Jifty/trunk: .
Jifty commits
jifty-commit at lists.jifty.org
Tue Dec 16 22:55:25 EST 2008
Author: sartak
Date: Tue Dec 16 22:55:25 2008
New Revision: 6130
Modified:
Net-Jifty/trunk/ (props changed)
Net-Jifty/trunk/lib/Net/Jifty.pm
Log:
r77619 at onn: sartak | 2008-12-16 22:55:22 -0500
Use a predicate for has_config_file
Modified: Net-Jifty/trunk/lib/Net/Jifty.pm
==============================================================================
--- Net-Jifty/trunk/lib/Net/Jifty.pm (original)
+++ Net-Jifty/trunk/lib/Net/Jifty.pm Tue Dec 16 22:55:25 2008
@@ -90,6 +90,7 @@
is => 'rw',
isa => 'Str',
default => "$ENV{HOME}/.jifty",
+ predicate => 'has_config_file',
documentation => "The place to look for the user's config file",
);
@@ -146,7 +147,7 @@
my $self = shift;
$self->load_config
- if $self->use_config && $self->config_file;
+ if $self->use_config && $self->has_config_file;
$self->login
unless $self->sid;
More information about the Jifty-commit
mailing list