pbs.py (1928:b75ae11a5e8f) pbs.py (1948:04aebfd9acf3)
1# Copyright (c) 2005 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 133 unchanged lines hidden (view full) ---

142 if self.mail_abort:
143 flags.append('a')
144 if self.mail_begin:
145 flags.append('b')
146 if self.mail_end:
147 flags.append('e')
148 if len(flags):
149 self.cmd.append('-m ' + flags)
1# Copyright (c) 2005 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 133 unchanged lines hidden (view full) ---

142 if self.mail_abort:
143 flags.append('a')
144 if self.mail_begin:
145 flags.append('b')
146 if self.mail_end:
147 flags.append('e')
148 if len(flags):
149 self.cmd.append('-m ' + flags)
150 else:
151 self.cmd.append('-mn')
150
151 if self.name:
152 self.cmd.append("-N%s" % self.name)
153
154 if self.priority:
155 self.cmd.append('-p' + self.priority)
156
157 if self.queue:

--- 23 unchanged lines hidden ---
152
153 if self.name:
154 self.cmd.append("-N%s" % self.name)
155
156 if self.priority:
157 self.cmd.append('-p' + self.priority)
158
159 if self.queue:

--- 23 unchanged lines hidden ---