blob: 4de7e8020334cbde802389be4b82b04c74146e2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/env python
#
# Copyright 2017 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import sys
dirpath, = sys.argv[1:]
print os.path.isdir(dirpath)
|