cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cassandra-node.apache-extras....@codespot.com
Subject [cassandra-node] push by tomaz.muraus - Remove unused import, sys -> util. on 2012-01-21 23:44 GMT
Date Sat, 21 Jan 2012 23:45:15 GMT
Revision: 93d5f790c400
Author:   Tomaz Muraus <tomaz@tomaz.me>
Date:     Sat Jan 21 15:42:46 2012
Log:      Remove unused import, sys -> util.

http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=93d5f790c400

Modified:
  /lib/driver.js
  /lib/system.js

=======================================
--- /lib/driver.js	Wed Jan 11 09:11:31 2012
+++ /lib/driver.js	Sat Jan 21 15:42:46 2012
@@ -21,7 +21,6 @@
  var logCql = require('logmagic').local('node-cassandra-client.driver.cql');
  var logTiming =  
require('logmagic').local('node-cassandra-client.driver.timing');

-var sys = require('sys');
  var constants = require('constants');
  var Buffer = require('buffer').Buffer;
  var EventEmitter = require('events').EventEmitter;
=======================================
--- /lib/system.js	Sun Dec 25 16:31:45 2011
+++ /lib/system.js	Sat Jan 21 15:42:46 2012
@@ -16,7 +16,7 @@
   */

  var log = require('logmagic').local('node-cassandra-client.system');
-var sys = require('sys');
+var util = require('util');
  var EventEmitter = require('events').EventEmitter;

  var thrift = require('thrift');
@@ -195,7 +195,7 @@
      });
    });
  };
-sys.inherits(System, EventEmitter);
+util.inherits(System, EventEmitter);

  /** adds a keyspace */
  System.prototype.addKeyspace = function(ksDef, callback) {

Mime
View raw message