Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tidy code a bit

Signed-off-by: Pedro Melo <melo@simplicidade.org>
  • Loading branch information...
commit 2219dbca9073f538a47b667d9d6a0a706469d7c0 1 parent 70adaa4
@melo melo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Redis.pm
View
4 lib/Redis.pm
@@ -29,7 +29,7 @@ sub new {
$self->{debug} = $args{debug} || $ENV{REDIS_DEBUG};
## default to lax utf8
- $self->{encoding} = exists $args{encoding}? $args{encoding} : 'utf8';
+ $self->{encoding} = exists $args{encoding} ? $args{encoding} : 'utf8';
## Deal with REDIS_SERVER ENV
if ($ENV{REDIS_SERVER} && !$args{sock} && !$args{server}) {
@@ -44,7 +44,7 @@ sub new {
}
}
- $self->{password} = $args{password} if $args{password};
+ $self->{password} = $args{password} if $args{password};
$self->{on_connect} = $args{on_connect} if $args{on_connect};
if ($args{sock}) {

0 comments on commit 2219dbc

Please sign in to comment.
Something went wrong with that request. Please try again.