]> git.donarmstrong.com Git - dsa-puppet.git/commit
Port LastlogTimes object to platforms with a 64-bit lastlog.ll_time
authorPaul Wise <pabs@debian.org>
Mon, 29 Sep 2014 02:50:19 +0000 (10:50 +0800)
committerPaul Wise <pabs@debian.org>
Mon, 29 Sep 2014 02:51:41 +0000 (10:51 +0800)
commit696875f82762047b983d1f002ca9a88d458e64b5
tree25ecff83f85b992d90d8b7832833d2831a295356
parentc38a35ca971fd50231410ed012c19734950cbe9f
Port LastlogTimes object to platforms with a 64-bit lastlog.ll_time

Fixes this error from merulo, an ia64 machine:

Traceback (most recent call last):
  File "/etc/cron.weekly/puppet-mail-big-homedirs", line 256, in <module>
    HomedirReminder().run()
  File "/etc/cron.weekly/puppet-mail-big-homedirs", line 166, in __init__
    self.lastlog_times = LastlogTimes()
  File "/etc/cron.weekly/puppet-mail-big-homedirs", line 125, in __init__
    lastlog_time, _, _ = list(struct.unpack(self.LASTLOG_STRUCT, record))
struct.error: unpack requires a string argument of length 292
modules/porterbox/files/mail-big-homedirs