On Thu, Jun 02, 2011 at 09:33:39AM +0100, Simon Rowe wrote:
> On Thursday 02 June 2011 07:40:51 Ian Campbell wrote:
> 
> > This seems like the sort of thing the base xen-bugtool sh/could usefully
> > be collecting in the future. Simon?
> 
> Yep, one of many things that are currently missing,

Since we're already on the subject, here's a patch that trivially adds
this to xen-bugtool output:

--- xen-bugtool.orig    2011-06-02 16:09:24.000000000 -0700
+++ xen-bugtool 2011-06-02 16:09:32.000000000 -0700
@@ -1365,7 +1365,7 @@
     user = os.getenv('SUDO_USER', os.getenv('USER'))
     if user:
         s.setAttribute('user', user)
-    s.setAttribute('date', time.strftime('%c'))
+    s.setAttribute('date', time.strftime('%c %z'))
     s.setAttribute('hostname', platform.node())
     s.setAttribute('uname', ' '.join(platform.uname()))
     s.setAttribute('uptime', commands.getoutput(UPTIME))
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to