From db82744cef368da2cb3010767222672bdd0a9b62 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 29 Mar 2011 17:54:34 +0800 Subject: [PATCH] tests/tickets.js --- tests/tickets.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/tickets.js b/tests/tickets.js index 33c8fa7b..3e7a714e 100644 --- a/tests/tickets.js +++ b/tests/tickets.js @@ -3,6 +3,10 @@ * let's see if we can pull a list of tickets from the tracker.. * */ +GLib = imports.gi.GLib; + + + File = imports['../File.js']; Tickets = { @@ -11,7 +15,7 @@ Tickets = { { this.machines = {}; // very basic parsing - only support single line version.. - var lines = File.read(Lib.get_home_dir() + '.netrc').split(/\n/); + var lines = File.read(GLib.get_home_dir() + '.netrc').split(/\n/); var t = this; lines.forEach(function(l) { if (!l.match(/^machine/)) { -- 2.39.2