[Rt-commit] rt branch, 3.999-trunk, updated. 1e1e66f84cb43884f4f5df8a3c50efd4b59d7d99

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Nov 6 06:28:27 EST 2009


The branch, 3.999-trunk has been updated
       via  1e1e66f84cb43884f4f5df8a3c50efd4b59d7d99 (commit)
      from  26191cb90b236d4a6cf709eb9aa99bc868bd2901 (commit)

Summary of changes:
 lib/RT/Test.pm |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit 1e1e66f84cb43884f4f5df8a3c50efd4b59d7d99
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Nov 6 19:28:17 2009 +0800

    remove useless code

diff --git a/lib/RT/Test.pm b/lib/RT/Test.pm
index 604439b..dce8f7e 100644
--- a/lib/RT/Test.pm
+++ b/lib/RT/Test.pm
@@ -508,11 +508,6 @@ sub import_gnupg_key {
     $key .= ".$type.key";
 
     require RT::Crypt::GnuPG;
-    ( my $volume, my $directories, my $file ) = File::Spec->splitpath($0);
-    my $keys_dir = File::Spec->catdir(
-        File::Spec->curdir(), $directories,
-        File::Spec->updir(),  qw(data gnupg keys)
-    );
 
     # this is a bit hackish; calling it from somewhere that's not a subdir
     # of t/ will fail

-----------------------------------------------------------------------


More information about the Rt-commit mailing list