Loading stem/util/system.py +9 −1 Original line number Diff line number Diff line Loading @@ -722,8 +722,16 @@ def get_process_name(): args, argc = [], argc_t() for i in xrange(100): # The ending index can be either None or raise a ValueError when # accessed... # # ValueError: NULL pointer access try: if argc[i] is None: break except ValueError: break args.append(str(argc[i])) Loading Loading
stem/util/system.py +9 −1 Original line number Diff line number Diff line Loading @@ -722,8 +722,16 @@ def get_process_name(): args, argc = [], argc_t() for i in xrange(100): # The ending index can be either None or raise a ValueError when # accessed... # # ValueError: NULL pointer access try: if argc[i] is None: break except ValueError: break args.append(str(argc[i])) Loading