forked from Lainports/freebsd-ports
- Add patch files/patch-runsamples - Convert to the new options framework - Add security/py-openssl to RUN_DEPENDS when option WEBTEST is on
11 lines
476 B
Python
11 lines
476 B
Python
--- ./runsamples.py.orig 2012-08-15 14:44:29.000000000 +0200
|
|
+++ ./runsamples.py 2012-08-15 14:44:45.000000000 +0200
|
|
@@ -41,6 +41,8 @@
|
|
logging.getLogger().setLevel(getattr(logging, FLAGS.logging_level))
|
|
|
|
for dirname in os.listdir(FLAGS.sample_root):
|
|
+ if not os.path.isdir(dirname):
|
|
+ continue
|
|
fulldirname = os.path.join(FLAGS.sample_root, dirname)
|
|
if dirname in FLAGS.samples_to_skip:
|
|
logging.debug('Skipping ' + fulldirname + ' (blacklist)')
|