search for: log_entry

Displaying 5 results from an estimated 5 matches for "log_entry".

Did you mean: mlog_entry
2007 Jun 08
5
autotest bug?
...pec/controllers/login_controller_spec.rb spec/models/ user_spec.rb spec/views/log_entries/edit_html.erb_spec.rb spec/views/ log_entries/index_html.erb_spec.rb spec/views/log_entries/ new_html.erb_spec.rb spec/views/log_entries/show_html.erb_spec.rb spec/helpers/login_helper_spec.rb spec/models/log_entry_spec.rb ........................................................................ .....F.. 1) ''LoginController routes should route create to POST /login'' FAILED expected "/login", got "/login/create" (using ==) ./spec/controllers/login_controller_spec.rb:13: s...
2006 Apr 07
0
ActiveRecord Question across Tables
Hi All, I know the answer to this may be simple but I cannot think of it! First let me explain the problem. I have the following tables and relations: log_entries <n..n> users log_entries <n..1> users users <n..n> groups groups < residence1, residence2 (non-normalized by design) I would like a way to get an array of user id''s (or user objects)
2006 Dec 28
0
problem with assert_raise in Unit Test
...foreign key. Inside the unit test, charge.time_logs << time_logs(:first) will generate ActiveRecord::StatementInvalid: Mysql::Error: #23000Duplicate entry ''20'' for key 2: UPDATE time_logs SET `task_id` = 1, `date_created` = NULL, `time_charge_id` = 20, `hours` = 2.0, `log_entry` = NULL WHERE id = 2 However, assert_raise ActiveRecord::StatementInvalid do charge.time_logs << time_logs(:first) end will generate <ActiveRecord::StatementInvalid> exception expected but none was thrown. What am I doing wrong? --~--~---------~--~----~----------...
2011 Aug 11
1
[PATCH] fix augtool calls
parse input augtool strings to oper,key,value --- scripts/network.py | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/scripts/network.py b/scripts/network.py index f51ee7c..65b551c 100644 --- a/scripts/network.py +++ b/scripts/network.py @@ -165,11 +165,11 @@ class Network: ntpconf = ntpconf.split("\n") for line
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
..."/etc/ssh/ssh_host*_key*", \ + "/etc/default/ovirt", \ + "/etc/sysconfig/network", \ + "/etc/collectd.conf", \ + "/etc/logrotate.d/ovirt-logrotate.conf" ] + +def log(log_entry): + # placeholder for now + print log_entry + +def set_console_colors(): + GIO_CMAP = 0x4B70 + PIO_CMAP = 0x4B71 + + tty_file = open("/dev/console", "rw") + existing_color_array = bytearray(fcntl.ioctl(tty_file.fileno(), GIO_CMAP, b"\x00" * 48)) + col...