Hi,

I have added the changes in mod_python.c to
support '.pyc' files present in /usr/lib/ganglia/python_modules
directory.


Please tell me the mailing list email address, where I can submit my
changes for review.

Changes are attached with this mail.


regards,
Ankit
--- mod_python.c.orig   2012-03-05 15:16:33.652463371 +0530
+++ mod_python.c        2012-03-05 12:53:11.948263363 +0530
@@ -105,7 +105,7 @@
         return NULL;
     }
 
-    if (strcmp(p, ".py")) {
+    if (strncmp(p, ".py", 3) != 0 && strncmp(p, ".pyc", 4) != 0) {
         return NULL;
     }
 
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to