Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
702fd597
Commit
702fd597
authored
Jan 05, 2017
by
Leigh B Stoller
Browse files
Ad IsRepoBased() predicate.
parent
56c6b5f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
apt/APT_Profile.pm.in
View file @
702fd597
#
!/usr/bin/perl -wT
#
#
Copyright
(
c
)
2007
-
201
6
University
of
Utah
and
the
Flux
Group
.
#
Copyright
(
c
)
2007
-
201
7
University
of
Utah
and
the
Flux
Group
.
#
#
{{{
EMULAB
-
LICENSE
#
...
...
@@ -256,6 +256,12 @@ sub DESTROY {
$
self
->{
'DBROW'
}
=
undef
;
}
sub
IsRepoBased
($)
{
my
($
self
)
=
@
_
;
return
(
defined
($
self
->
repourl
())
?
1
:
0
);
}
#
#
Refresh
a
class
instance
by
reloading
from
the
DB
.
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment