hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
1fc892515bece739b5ec210547694b980de442cf | diff --git a/src/main/groovy/util/GroovyTestCase.java b/src/main/groovy/util/GroovyTestCase.java
index <HASH>..<HASH> 100644
--- a/src/main/groovy/util/GroovyTestCase.java
+++ b/src/main/groovy/util/GroovyTestCase.java
@@ -73,6 +73,15 @@ public class GroovyTestCase extends TestCase {
public GroovyTestCase() {
... | patch to make test cases appear more like AgileDox when running them in a report or IDE
git-svn-id: <URL> | groovy_groovy-core | train |
5a6eb7b5abb51a17331f2d1e6cd7e2a92204cdcf | diff --git a/core-bundle/contao/widgets/FileTree.php b/core-bundle/contao/widgets/FileTree.php
index <HASH>..<HASH> 100644
--- a/core-bundle/contao/widgets/FileTree.php
+++ b/core-bundle/contao/widgets/FileTree.php
@@ -201,7 +201,7 @@ class FileTree extends \Widget
// Only show images
if ($objFile->is... | [Core] Float the gallery thumbnails in the back end preview | contao_contao | train |
1df8efb63333e89777820a96d78d5a59252b303d | diff --git a/tests/test_config.py b/tests/test_config.py
index <HASH>..<HASH> 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -5,7 +5,7 @@ import sys
import os
class TestConfig(unittest.TestCase):
- def test_config_load(self):
+ def test_config_load_with_gpg(self):
os.environ['FIGGY_G... | Rename test specific to with gpg | theherk_figgypy | train |
9402a1f5542c23f0fdfa2902e47b88592f0b35db | diff --git a/src/org/jgroups/blocks/ReplicatedHashtable.java b/src/org/jgroups/blocks/ReplicatedHashtable.java
index <HASH>..<HASH> 100644
--- a/src/org/jgroups/blocks/ReplicatedHashtable.java
+++ b/src/org/jgroups/blocks/ReplicatedHashtable.java
@@ -1,4 +1,4 @@
-// $Id: ReplicatedHashtable.java,v 1.10 2005/07/17 11:36... | listeners are notified of state transfer now | belaban_JGroups | train |
3c5da9fb7abc7ad3af846cebdbd73a05dac0c294 | diff --git a/definitions/npm/joi-browser_v10.x.x/flow_v0.28.x-/joi-browser_v10.x.x.js b/definitions/npm/joi-browser_v10.x.x/flow_v0.28.x-/joi-browser_v10.x.x.js
index <HASH>..<HASH> 100644
--- a/definitions/npm/joi-browser_v10.x.x/flow_v0.28.x-/joi-browser_v10.x.x.js
+++ b/definitions/npm/joi-browser_v10.x.x/flow_v0.28... | Improve joi and joi-browser compile definition (#<I>) | flow-typed_flow-typed | train |
613ff05927f5e8b56b8c0e1fbd3379b2afc6d5cf | diff --git a/trimesh/exchange/load.py b/trimesh/exchange/load.py
index <HASH>..<HASH> 100644
--- a/trimesh/exchange/load.py
+++ b/trimesh/exchange/load.py
@@ -296,28 +296,32 @@ def load_compressed(file_obj,
available = mesh_formats()
for name, data in files.items():
- # only load ... | don't fail completely for files that don't load | mikedh_trimesh | train |
db4826f8157cc3680113b3157cd1029f762be074 | diff --git a/gnupg/test/test_gnupg.py b/gnupg/test/test_gnupg.py
index <HASH>..<HASH> 100644
--- a/gnupg/test/test_gnupg.py
+++ b/gnupg/test/test_gnupg.py
@@ -530,7 +530,7 @@ class GPGTestCase(unittest.TestCase):
keyfile = os.path.join(self.gpg._keys_dir, 'test_key_3.pub')
log.debug("Storing downloade... | Fix an error in a unittest due to attempt to write class obj, not str form. | isislovecruft_python-gnupg | train |
50c6c160c1291bc49e7ef27440248cb345c1e6c5 | diff --git a/satpy/writers/__init__.py b/satpy/writers/__init__.py
index <HASH>..<HASH> 100644
--- a/satpy/writers/__init__.py
+++ b/satpy/writers/__init__.py
@@ -36,13 +36,7 @@ from satpy.config import (config_search_paths, get_environ_config_dir,
from satpy.plugin_base import Plugin
from trollsift import parser
-... | Fix XRImage import so it is now required | pytroll_satpy | train |
ff86545b67dbb6921bfabddb0998d18acc9c9272 | diff --git a/cgutils/commands/event.py b/cgutils/commands/event.py
index <HASH>..<HASH> 100755
--- a/cgutils/commands/event.py
+++ b/cgutils/commands/event.py
@@ -19,6 +19,7 @@
# Copyright (c) 2012 peo3 <peo314159265@gmail.com>
#
+from __future__ import with_statement
import sys
import os, os.path
import optpars... | Support older systems
We need tweaks for with statement and eventfd macros. | peo3_cgroup-utils | train |
f71e9a39db0371fdeb4ffc1e6d8c393b5235cb90 | diff --git a/email.go b/email.go
index <HASH>..<HASH> 100644
--- a/email.go
+++ b/email.go
@@ -19,6 +19,10 @@ import (
"strings"
)
+const (
+ MAX_LINE_LENGTH = 76 //The maximum line length per RFC 2045
+)
+
//Email is the type used for email messages
type Email struct {
From string
@@ -104,20 +108,19 @@... | Moved Attachment struct before helper functions
Started implementing lineSplit
Working on Quoted-Printable encoding (may make this a separate Encoder) | jordan-wright_email | train |
f865f5b86ed6b5ec6d5f8cb7c3ba99e23a24fdc5 | diff --git a/lmdb/cursor.go b/lmdb/cursor.go
index <HASH>..<HASH> 100644
--- a/lmdb/cursor.go
+++ b/lmdb/cursor.go
@@ -200,7 +200,12 @@ func (c *Cursor) Put(key, val []byte, flags uint) error {
func (c *Cursor) PutReserve(key []byte, n int, flags uint) ([]byte, error) {
kdata, kn := valBytes(key)
cval := &mdbVal{m... | lmdb: break some long C call invocations into multiple lines | bmatsuo_lmdb-go | train |
5166a8fadbbf9157634910f511569671582d89e7 | diff --git a/client/models/categorial-transform.js b/client/models/categorial-transform.js
index <HASH>..<HASH> 100644
--- a/client/models/categorial-transform.js
+++ b/client/models/categorial-transform.js
@@ -29,5 +29,8 @@ module.exports = Collection.extend({
model: Rule,
transform: function (text) {
retur... | Reset groups and clear transformation when facet type changes
this should make the session.json files much more human friendly | NLeSC_spot | train |
196ce712383f72fd23541b5194200300877f39c0 | diff --git a/cli/src/commands/runTests.js b/cli/src/commands/runTests.js
index <HASH>..<HASH> 100644
--- a/cli/src/commands/runTests.js
+++ b/cli/src/commands/runTests.js
@@ -99,10 +99,6 @@ async function getOrderedFlowBinVersions(): Promise<Array<string>> {
const QUERY_PAGE_SIZE = 100;
const OS_ARCH_FILT... | remove call native `unzip` on non-windows (#<I>) | flow-typed_flow-typed | train |
1ba7b935c848a33fb749b27c083e3c1c3e1bc826 | diff --git a/lib/Dzangocart/Client/DzangocartClient.php b/lib/Dzangocart/Client/DzangocartClient.php
index <HASH>..<HASH> 100644
--- a/lib/Dzangocart/Client/DzangocartClient.php
+++ b/lib/Dzangocart/Client/DzangocartClient.php
@@ -20,11 +20,22 @@ class DzangocartClient
try {
$cipher = new \pcrypt(... | added DzangocartClient#decrypt method | opichon_dzangocart-client | train |
815a850d5edc424f8ba4ce17e3fecb4becab40b2 | diff --git a/v1/build_config.go b/v1/build_config.go
index <HASH>..<HASH> 100644
--- a/v1/build_config.go
+++ b/v1/build_config.go
@@ -13,6 +13,10 @@ type bcWrapper struct {
BuildConfig *BuildConfig `json:"build_configuration"`
}
+// Atlas expects a list of key/value vars
+type BuildVar map[string]string
+type Bui... | send a list of map[string]strings as vars | hashicorp_atlas-go | train |
ede7d66eaaa4a7de9a4c13f595632e7a5927ca7d | diff --git a/httprunner/client.py b/httprunner/client.py
index <HASH>..<HASH> 100644
--- a/httprunner/client.py
+++ b/httprunner/client.py
@@ -103,8 +103,8 @@ class HttpSession(requests.Session):
self.meta_data["request_time"] = time.time()
response = self._send_request_safe_mode(method, url, **kwargs... | bugfix: uniform response time unit to miliseconds | HttpRunner_HttpRunner | train |
360c5d72761fa70dc4438d4ea15587070fa24d68 | diff --git a/Classes/Plugin/Gridelements.php b/Classes/Plugin/Gridelements.php
index <HASH>..<HASH> 100644
--- a/Classes/Plugin/Gridelements.php
+++ b/Classes/Plugin/Gridelements.php
@@ -536,10 +536,14 @@ class Gridelements extends ContentObjectRenderer {
$tempArr = $tempArr[$v];
}
}
- if (is_array($tempAr... | [BUGFIX] Check for variable being an array before using array keys
Change-Id: Iea1a7fd<I>ad0ff<I>f<I>d<I>d<I>b<I>c4a<I>ff
Resolves: #<I>
Releases: 3-0
Reviewed-on: <URL> | TYPO3-extensions_gridelements | train |
7269d199f6b0ae25fcf827b3f55a352f55dbf341 | diff --git a/allure-python-commons/src/types.py b/allure-python-commons/src/types.py
index <HASH>..<HASH> 100644
--- a/allure-python-commons/src/types.py
+++ b/allure-python-commons/src/types.py
@@ -44,6 +44,7 @@ class AttachmentType(Enum):
XML = ("application/xml", "xml")
JSON = ("application/json", "json")
... | add pcap MIME type for report attachments (fixes #<I> via #<I>) | allure-framework_allure-python | train |
a88d24ef452ebd2e668724795b84b8aaee50abf7 | diff --git a/src/Monolog/Handler/SocketHandler.php b/src/Monolog/Handler/SocketHandler.php
index <HASH>..<HASH> 100644
--- a/src/Monolog/Handler/SocketHandler.php
+++ b/src/Monolog/Handler/SocketHandler.php
@@ -80,7 +80,7 @@ class SocketHandler extends AbstractProcessingHandler
/**
* Set socket connection to... | Fix: Type should be boolean | Seldaek_monolog | train |
30e48ede6bb3cfae0c440de7f75e17fb07d1e493 | diff --git a/tests/grammar_term-nonterm_test/NonterminalGetTest.py b/tests/grammar_term-nonterm_test/NonterminalGetTest.py
index <HASH>..<HASH> 100644
--- a/tests/grammar_term-nonterm_test/NonterminalGetTest.py
+++ b/tests/grammar_term-nonterm_test/NonterminalGetTest.py
@@ -39,7 +39,7 @@ class NonterminalGetTest(TestCa... | Fix wrong call of terms instead of nonterms in tests | PatrikValkovic_grammpy | train |
0a3c883f7c2825642298017f5af6305a8c90a7a5 | diff --git a/lib/pstarter.js b/lib/pstarter.js
index <HASH>..<HASH> 100644
--- a/lib/pstarter.js
+++ b/lib/pstarter.js
@@ -6,6 +6,7 @@ var util = require('util');
/* if worker die less than this milliseconds then will not fork new worker */
var MIMIMUM_AGE = 2000;
+var PATROL_POLL_TIMEOUT = 5000;
var conf;
var co... | Adding patrol for checking so that no of workers and config are the same. Gracefull worker if it has served max request to avoid leak | vanng822_pstarter | train |
c468b34d1b7b26d36d2f7a365e71635d1d6cb0db | diff --git a/pkg/apis/workflow/register.go b/pkg/apis/workflow/register.go
index <HASH>..<HASH> 100644
--- a/pkg/apis/workflow/register.go
+++ b/pkg/apis/workflow/register.go
@@ -4,6 +4,7 @@ package workflow
const (
Group string = "argoproj.io"
Version string = "... | fix(controller): Correct unstructured API version. Caused by #<I> (#<I>) | argoproj_argo | train |
27b2215bbdbc296cc2df55543acd879ffff4375c | diff --git a/ezp/Persistence/Storage/Legacy/Tests/Content/Language/LanguageHandlerTest.php b/ezp/Persistence/Storage/Legacy/Tests/Content/Language/LanguageHandlerTest.php
index <HASH>..<HASH> 100644
--- a/ezp/Persistence/Storage/Legacy/Tests/Content/Language/LanguageHandlerTest.php
+++ b/ezp/Persistence/Storage/Legacy/... | Fixed: @covers on Storage\Legacy..LanguageHandlerTest.php | ezsystems_ezpublish-kernel | train |
cce1de185c829e601c973ea2ed208422e691929d | diff --git a/plugins/CoreVisualizations/javascripts/jqplot.js b/plugins/CoreVisualizations/javascripts/jqplot.js
index <HASH>..<HASH> 100644
--- a/plugins/CoreVisualizations/javascripts/jqplot.js
+++ b/plugins/CoreVisualizations/javascripts/jqplot.js
@@ -120,13 +120,15 @@
for (var seriesIdx = 0; seriesId... | fix reduce method is not available in ie8 | matomo-org_matomo | train |
f88f1046fd77bd5d26f285d9dafd7ee5e75e372a | diff --git a/ubelt/util_list.py b/ubelt/util_list.py
index <HASH>..<HASH> 100644
--- a/ubelt/util_list.py
+++ b/ubelt/util_list.py
@@ -519,7 +519,7 @@ def argsort(indexable, key=None, reverse=False):
>>> assert indices == [1, 2, 0]
"""
# Create an iterator of value/key pairs
- if isinstance(indexa... | Using collections instead of collections.abc | Erotemic_ubelt | train |
f117f600ba6f655e78f1bd0120fc0850b2863b3c | diff --git a/src/ua-parser.js b/src/ua-parser.js
index <HASH>..<HASH> 100644
--- a/src/ua-parser.js
+++ b/src/ua-parser.js
@@ -865,4 +865,4 @@
};
}
-})(this);
+})(typeof window === 'object' ? window : this); | Reference window as global if available
This change will use `window` by default if it exists so that `browserify` and `Webpack` builds do not need to do something like
```javascript
var parser = new UAParser(window.navigator.userAgent)
```
<URL> | faisalman_ua-parser-js | train |
f3894d90091fe9e384dd8de8985b54d482a19af4 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -40,6 +40,9 @@ ParseMockDB.unMockDB(); // Un-mock the Parse RESTController
### Changelog
#### Pending release
+- *Breaking Change* Stopped patching MockDB object on to Parse module. You can no longer
+ access `Parse.M... | Don't patch MockDB attribute on to Parse SDK | Hustle_parse-mockdb | train |
c8e1bfe7935c5aab780b66f47dec3c2b97d5cf2d | diff --git a/pkg/build/api/types.go b/pkg/build/api/types.go
index <HASH>..<HASH> 100644
--- a/pkg/build/api/types.go
+++ b/pkg/build/api/types.go
@@ -83,6 +83,8 @@ const (
type BuildSource struct {
Type BuildSourceType `json:"type,omitempty"`
Git *GitBuildSource `json:"git,omitempty"`
+ // Context directory wher... | Add support for ContextDir in STI build | openshift_origin | train |
9c62c6246436503698bad5d8ac59a6e7d159457c | diff --git a/src/Mouf/MoufInstanceDescriptor.php b/src/Mouf/MoufInstanceDescriptor.php
index <HASH>..<HASH> 100755
--- a/src/Mouf/MoufInstanceDescriptor.php
+++ b/src/Mouf/MoufInstanceDescriptor.php
@@ -539,6 +539,7 @@ class MoufInstanceDescriptor {
<a href='".MOUF_URL."ajaxinstance/?name=".urlencode($this->... | correcting bug of the undefined variable while not finding associated constructor of a Controller instance | thecodingmachine_mouf | train |
32639cdb552ce6b9b6beb65e690807b8e3378f7b | diff --git a/app/controllers/content_view_definitions_controller.rb b/app/controllers/content_view_definitions_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/content_view_definitions_controller.rb
+++ b/app/controllers/content_view_definitions_controller.rb
@@ -17,6 +17,7 @@ class ContentViewDefinition... | content views - initial ui changes to support view refresh
This commit contains the initial uimodel changes to allow a user
to 'refresh' a content view, creating a new version of it in the
Library based upon the current content view definition.
In the future, we'll enhance this to be executed asynchronously to
better... | Katello_katello | train |
6c3042f092a683182519a9faa39328d5b3c0cc69 | diff --git a/contrib/agent/src/main/java/io/opencensus/contrib/agent/instrumentation/ContextStrategyImpl.java b/contrib/agent/src/main/java/io/opencensus/contrib/agent/instrumentation/ContextStrategyImpl.java
index <HASH>..<HASH> 100644
--- a/contrib/agent/src/main/java/io/opencensus/contrib/agent/instrumentation/Conte... | No need to make the cache a static field. | census-instrumentation_opencensus-java | train |
d401bf6d5b5558f11e3d6992e161cc0073292ff4 | diff --git a/src/components/spinner/Spinner.js b/src/components/spinner/Spinner.js
index <HASH>..<HASH> 100644
--- a/src/components/spinner/Spinner.js
+++ b/src/components/spinner/Spinner.js
@@ -262,11 +262,11 @@ export class Spinner extends Component {
size={this.props.size} maxLength=... | Fix missing button types in Spinner
cf. primefaces/primeng#<I> | primefaces_primereact | train |
9e630ca680d259efff1d95d0aaadcaefa1511eca | diff --git a/lib/ydim/debitor.rb b/lib/ydim/debitor.rb
index <HASH>..<HASH> 100644
--- a/lib/ydim/debitor.rb
+++ b/lib/ydim/debitor.rb
@@ -35,8 +35,7 @@ module YDIM
@contact_firstname, @contact].compact.join(' '))
lns.push(@contact_title)
lns.concat(@address_lines)
- lns.push(@location, @email)
- ... | Imporvements to the Country-functionality | zdavatz_ydim | train |
6e055ce119557b5b1d09ce76593cad757d3f57c2 | diff --git a/oasp4j-samples/oasp4j-sample-core/src/main/java/io/oasp/gastronomy/restaurant/salesmanagement/dataaccess/api/OrderPositionEntity.java b/oasp4j-samples/oasp4j-sample-core/src/main/java/io/oasp/gastronomy/restaurant/salesmanagement/dataaccess/api/OrderPositionEntity.java
index <HASH>..<HASH> 100644
--- a/oas... | Moved @NotNull annotation to getter | oasp_oasp4j | train |
b5daec7e4cd43310d9e5e0f49961e2c14322320c | diff --git a/lib/aprendizaje_maquina/cargar.rb b/lib/aprendizaje_maquina/cargar.rb
index <HASH>..<HASH> 100644
--- a/lib/aprendizaje_maquina/cargar.rb
+++ b/lib/aprendizaje_maquina/cargar.rb
@@ -7,27 +7,30 @@ module AprendizajeMaquina
def initialize(path_file)
@path_file = path_file
@csv_data = CSV.read(@p... | changes in #to_matrix/#to_vector methods | TheNoskOneVzla_aprendizaje-maquina | train |
da87f30d1ff50211599471fd667cffd0c1d2ff48 | diff --git a/lib/labels/ec2/ec2.go b/lib/labels/ec2/ec2.go
index <HASH>..<HASH> 100644
--- a/lib/labels/ec2/ec2.go
+++ b/lib/labels/ec2/ec2.go
@@ -117,13 +117,16 @@ func (l *EC2) Sync(ctx context.Context) error {
if err != nil {
return trace.Wrap(err)
}
- m[t] = value
+ if types.IsValidLabelKey(t) {
+ m[t... | Filter out invalid EC2 tag keys (#<I>)
This change skips over EC2 tag keys that aren't valid Teleport label keys. | gravitational_teleport | train |
f757e5881dc17cb2f41d11064dbfdfce0863854d | diff --git a/src/main/java/org/jboss/pressgang/ccms/contentspec/processor/ContentSpecValidator.java b/src/main/java/org/jboss/pressgang/ccms/contentspec/processor/ContentSpecValidator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/pressgang/ccms/contentspec/processor/ContentSpecValidator.java
+++ b/src/... | A hotfix for temporarily allowing nested sections in initial text containers.
Conflicts:
pom.xml | pressgang-ccms_PressGangCCMSContentSpecProcessor | train |
3438ab999f1395b9e9a39a27ef848cf3122ba1aa | diff --git a/py/selenium/webdriver/firefox/webdriver.py b/py/selenium/webdriver/firefox/webdriver.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/firefox/webdriver.py
+++ b/py/selenium/webdriver/firefox/webdriver.py
@@ -15,7 +15,6 @@
# specific language governing permissions and limitations
# under the Lic... | py: marionette is a remote connection
RemoteWebDriver sets the internal property _is_remote to true on
construction. The firefox.WebDriver ctor used to re-set it to false,
which is now only true when using the Firefox add-on approach. | SeleniumHQ_selenium | train |
02b6c1b405d779d2df7897bf67bc39133069d0e6 | diff --git a/horizon/tables/views.py b/horizon/tables/views.py
index <HASH>..<HASH> 100644
--- a/horizon/tables/views.py
+++ b/horizon/tables/views.py
@@ -304,11 +304,13 @@ class DataTableView(MultiTableView):
filter_string = self.table.get_filter_string().strip()
if filter_field and f... | Make table filters valid for every languages
As we known, the table support filtered by local language
with some filters mapping, like below:
<URL> | openstack_horizon | train |
ce915f42272b56892caefc1239b732ac4896ffd0 | diff --git a/sqlPuzzle/features/conditions.py b/sqlPuzzle/features/conditions.py
index <HASH>..<HASH> 100644
--- a/sqlPuzzle/features/conditions.py
+++ b/sqlPuzzle/features/conditions.py
@@ -5,6 +5,8 @@
# https://github.com/horejsek/sqlPuzzle
#
+import datetime
+
import sqlPuzzle.argsParser
import sqlPuzzle.excep... | support for datetime in conditions and values | horejsek_python-sqlpuzzle | train |
6dda2167154c856e8776a192e90118c3b3129b78 | diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/engine.rb
+++ b/railties/lib/rails/engine.rb
@@ -542,9 +542,9 @@ module Rails
end
initializer :append_assets_path do |app|
- app.config.assets.paths.unshift(*paths["vendor/asset... | Merge pull request #<I> from zenapsis/3-1-stable
Rails <I> throws a Errno::ENOTDIR if files are put in assets directories | rails_rails | train |
0021b048d6f61a3528a1f0fc6b2f707c63a96ac1 | diff --git a/winrm/tests/test_protocol.py b/winrm/tests/test_protocol.py
index <HASH>..<HASH> 100644
--- a/winrm/tests/test_protocol.py
+++ b/winrm/tests/test_protocol.py
@@ -41,6 +41,20 @@ def test_get_command_output(protocol_fake):
protocol_fake.close_shell(shell_id)
+def test_send_command_input(protocol_fak... | Add a single test for sending input to stdin | diyan_pywinrm | train |
cc9342f0d3539f67e63a420aa34ec2f05f129fe4 | diff --git a/test/support/util.js b/test/support/util.js
index <HASH>..<HASH> 100644
--- a/test/support/util.js
+++ b/test/support/util.js
@@ -1,19 +1,12 @@
-const isRenderer = require('is-electron-renderer');
const {
- remote
-} = require('electron');
-let fs;
-let path;
-if (isRenderer) {
- fs = remote.require('fs... | missing dependency: is-electron-renderer | antvis_data-set | train |
7e5dc68cf162a0083469aa925cb2801bebb09a0c | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -86,9 +86,6 @@ $redis->get('greeting')->then(function (string $greeting) {
$redis->incr('invocation')->then(function (int $n) {
echo 'This is invocation #' . $n . PHP_EOL;
});
-
-// end connection once all pending r... | Reduce default idle time to 1ms | clue_reactphp-redis | train |
066f8e0fa23174c76b4115a1e30112ec30a6f533 | diff --git a/resumable.js b/resumable.js
index <HASH>..<HASH> 100644
--- a/resumable.js
+++ b/resumable.js
@@ -948,6 +948,13 @@
} else {
input.removeAttribute('webkitdirectory');
}
+ var fileTypes = $.getOpt('fileType');
+ if (typeof (fileTypes) !== 'undefined' && fileTypes.le... | Adds fileType filter to open file dialog
When the open file dialog is shown only file with the defined fileType can be selected | 23_resumable.js | train |
c77f160973ac3ec994fda0e6087e72beb207e79f | diff --git a/client/src/main/java/com/networknt/client/oauth/KeyRequest.java b/client/src/main/java/com/networknt/client/oauth/KeyRequest.java
index <HASH>..<HASH> 100644
--- a/client/src/main/java/com/networknt/client/oauth/KeyRequest.java
+++ b/client/src/main/java/com/networknt/client/oauth/KeyRequest.java
@@ -107,4... | fixes #<I> add some debug statements to the JWT access in client and security modules (#<I>) | networknt_light-4j | train |
131c1cd88cc3529f13f82a9a601f42e493792ca9 | diff --git a/lib/slim/parser.rb b/lib/slim/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/slim/parser.rb
+++ b/lib/slim/parser.rb
@@ -72,7 +72,6 @@ module Slim
DELIMITER_REGEX = /\A[\(\[\{]/
ATTR_NAME_REGEX = '\A\s*(\w[:\w-]*)'
- QUOTED_VALUE_REGEX = /\A("[^"]*"|'[^']*')/
if RUBY_VERSION > '1.9'
... | issue #<I> fixed
needs some refactoring. parse_quoted_attribute and parse_ruby_attribute do very similar things. | slim-template_slim | train |
8868bda79af031bdbf6ec6a9509ab66bb4a1d13f | diff --git a/lib/shoulda/matchers/action_controller/render_template_matcher.rb b/lib/shoulda/matchers/action_controller/render_template_matcher.rb
index <HASH>..<HASH> 100644
--- a/lib/shoulda/matchers/action_controller/render_template_matcher.rb
+++ b/lib/shoulda/matchers/action_controller/render_template_matcher.rb
@... | Fix docs for `render_template` with partial
If a partial's is not prefixed with an underscore a test would fail with
a similar error message, as:
> Failure/Error: it { should render_template(partial: 'form') }
expecting partial <form> but action rendered <["expenses/_form", "_form"]>.
Expected {"expense... | thoughtbot_shoulda-matchers | train |
4b22df693d46b9dd2bd583d11e5975b0e39b3e40 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ metadata manipulations.
Documentation and examples can be found under: https://github.com/miku/marcx
"""
-from distutils.core import setup
+from setuptools import setup
classifiers = """
Development Status... | get rid of 'unknown dist option install_requires' | ubleipzig_marcx | train |
2d3f0d94546b482ac44aab8f7b61510f9ef02663 | diff --git a/sobol_seq-not_tested.py b/sobol_seq-not_tested.py
index <HASH>..<HASH> 100644
--- a/sobol_seq-not_tested.py
+++ b/sobol_seq-not_tested.py
@@ -6,8 +6,11 @@
Original FORTRAN77 version of tau_sobol by Bennett Fox.
MATLAB version by John Burkardt.
PYTHON version by Corrado Chisari
+
Origina... | add original source URL to all file docstrings | naught101_sobol_seq | train |
0f3a9a8d02f638a1af862269236bbd1f8d4ade1f | diff --git a/scope_private.go b/scope_private.go
index <HASH>..<HASH> 100644
--- a/scope_private.go
+++ b/scope_private.go
@@ -419,38 +419,50 @@ func (scope *Scope) typeName() string {
func (scope *Scope) related(value interface{}, foreignKeys ...string) *Scope {
toScope := scope.db.NewScope(value)
+ fromScopeType... | Support include struct type in the foreign key to avoid ambiguous | jinzhu_gorm | train |
117d0e3f6d2606ef5b86cc8dace52315348760d7 | diff --git a/robosuite/environments/base.py b/robosuite/environments/base.py
index <HASH>..<HASH> 100644
--- a/robosuite/environments/base.py
+++ b/robosuite/environments/base.py
@@ -198,7 +198,7 @@ class MujocoEnv(metaclass=EnvMeta):
# Create the simulation instance and run a single step to make sure change... | fix sim resetting bug in base env | StanfordVL_robosuite | train |
5e4fd030b74676065ec4f4b22e2edff928c44d6e | diff --git a/source/CAS/Client.php b/source/CAS/Client.php
index <HASH>..<HASH> 100755
--- a/source/CAS/Client.php
+++ b/source/CAS/Client.php
@@ -3503,6 +3503,9 @@ class CAS_Client
*/
private function _isHttps()
{
+ if (!empty($_SERVER['HTTP_X_FORWARDED_PROTO'])) {
+ return ($_SERVER[... | Add support for X-Forwarded-Proto header in isHttps() | apereo_phpCAS | train |
607201a7a4f338a87487e30cad53179eb70b315a | diff --git a/async/format.js b/async/format.js
index <HASH>..<HASH> 100644
--- a/async/format.js
+++ b/async/format.js
@@ -35,7 +35,7 @@ module.exports = function (random, alphabet, size) {
function tick (id) {
return random(step).then(function (bytes) {
- for (var i = 0; i < step; i++) {
+ for (var... | Reverse format for cycle (#<I>) | ai_nanoid | train |
54b57cb7dcd88c1b273a14ae084d6d47545070ce | diff --git a/admin/tool/moodlenet/classes/profile_manager.php b/admin/tool/moodlenet/classes/profile_manager.php
index <HASH>..<HASH> 100644
--- a/admin/tool/moodlenet/classes/profile_manager.php
+++ b/admin/tool/moodlenet/classes/profile_manager.php
@@ -310,11 +310,10 @@ class profile_manager {
'CURLOPT_H... | MDL-<I> tool_moodlenet: Check to see if we get errors before curl | moodle_moodle | train |
389810e12a872ebcf4f8f112bbd7654cdebb5acc | diff --git a/tests/Symfony/Tests/Component/Routing/Generator/Dumper/PhpGeneratorDumperTest.php b/tests/Symfony/Tests/Component/Routing/Generator/Dumper/PhpGeneratorDumperTest.php
index <HASH>..<HASH> 100644
--- a/tests/Symfony/Tests/Component/Routing/Generator/Dumper/PhpGeneratorDumperTest.php
+++ b/tests/Symfony/Tests... | [Routing] modified place when we store temporary file | symfony_symfony | train |
a412b4e8abfa3fd260dedf1d12e2f3fa5dadb573 | diff --git a/tests/test_display.py b/tests/test_display.py
index <HASH>..<HASH> 100644
--- a/tests/test_display.py
+++ b/tests/test_display.py
@@ -186,6 +186,11 @@ def test_xaxis_none_yaxis_log_ghz():
librosa.display.specshow(S_abs, y_axis='log', freq_fmt='GHz')
plt.tight_layout()
+@raises(librosa.Parameter... | Added a failure test for bad frequency scaling | librosa_librosa | train |
49dac1bcf72a31a51592ffc6ccd480a65fd8fd8f | diff --git a/client/client.py b/client/client.py
index <HASH>..<HASH> 100644
--- a/client/client.py
+++ b/client/client.py
@@ -267,7 +267,7 @@ def run_job(jobdesc_filename, settings_filename):
'experiments': {
exp_name: exp_options
},
- ... | Fixed an issue with rerun_experiment.yml generation | stephensolis_kameris | train |
18438607cb783e8922a96d2e227a8a259fa94f9e | diff --git a/auth.go b/auth.go
index <HASH>..<HASH> 100644
--- a/auth.go
+++ b/auth.go
@@ -51,8 +51,10 @@ func getConn() (gcs.Conn, error) {
}
// Create the connection.
+ const userAgent = "gcsfuse/0.0"
cfg := &gcs.ConnConfig{
HTTPClient: httpClient,
+ UserAgent: userAgent,
}
return gcs.NewConn(cfg) | Added a custom User-Agent header for GCS requests.
Fixes #<I>. | jacobsa_ratelimit | train |
22ff154541741f97b84dd4a105a31097d1660a2e | diff --git a/log/sync.go b/log/sync.go
index <HASH>..<HASH> 100644
--- a/log/sync.go
+++ b/log/sync.go
@@ -1,4 +1,4 @@
-package log
+package log
import (
"io"
@@ -36,24 +36,59 @@ func (l *SwapLogger) Swap(logger Logger) {
l.logger.Store(loggerStruct{logger})
}
-// SyncWriter synchronizes concurrent writes to... | log: Update NewSyncWriter to work with term.IsTerminal.
- Change the return type to io.Writer
- Return an io.Writer that also has the `Fd() uintptr` method of the
wrapped io.Writer if present. | go-kit_kit | train |
fde5020499c666e047e94b41326d571ffe245799 | diff --git a/code/Debug/Model/Observer.php b/code/Debug/Model/Observer.php
index <HASH>..<HASH> 100644
--- a/code/Debug/Model/Observer.php
+++ b/code/Debug/Model/Observer.php
@@ -16,6 +16,7 @@ class Sheep_Debug_Model_Observer
{
// This is initialised as soon as app is setup
protected $canCapture = true;
+ ... | Don't run anything if profiling was not started | madalinoprea_magneto-debug | train |
47bdf134655cda4cc6753795e6869af98cf71ffb | diff --git a/src/signature_pad.js b/src/signature_pad.js
index <HASH>..<HASH> 100644
--- a/src/signature_pad.js
+++ b/src/signature_pad.js
@@ -69,7 +69,7 @@ function init(Survey) {
question.valueChangedCallback = updateValueHandler;
updateValueHandler();
question.signaturePad = signaturePad;
- ... | Added isReadOnly check for the "clear" button | surveyjs_widgets | train |
11e9964a219397ffe557f0113420c9059feaf099 | diff --git a/joomla/database/table/menu.php b/joomla/database/table/menu.php
index <HASH>..<HASH> 100644
--- a/joomla/database/table/menu.php
+++ b/joomla/database/table/menu.php
@@ -67,26 +67,14 @@ class JTableMenu extends JTableNested
*/
public function check()
{
- // If the alias field is empty, set it to th... | Grabbed from revision for revert; fixing
--HG--
extra : convert_revision : svn%3A6f6e1ebd-4c2b-<I>-<I>f-f<I>bde<I>bce9/development/trunk/libraries%<I> | joomla_joomla-framework | train |
4349a170174ddc65ee8466fe1d079090eb12f236 | diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -316,7 +316,7 @@ func main() {
logx.LogError.Fatal(err)
}
- w := simple.NewWorker(int(cfg.Core.QueueNum))
+ w := simple.NewWorker(simple.WithQueueNum(int(cfg.Core.QueueNum)))
q := queue.NewQueue(w, int(cfg.Core.WorkerNum)... | chore(queue): support option setting (#<I>) | appleboy_gorush | train |
2e829299702a676ccdc0a8cdbc9012d7485cf203 | diff --git a/core/cas-server-core-services/src/main/java/org/apereo/cas/services/AbstractRegisteredService.java b/core/cas-server-core-services/src/main/java/org/apereo/cas/services/AbstractRegisteredService.java
index <HASH>..<HASH> 100644
--- a/core/cas-server-core-services/src/main/java/org/apereo/cas/services/Abstr... | Ensure canonicalization mode is capable of handling nulls | apereo_cas | train |
3098d9b6cd27f215e0be6a01822117b4eca7baa3 | diff --git a/org.parallelj/parallelj/parallelj-launching/src/main/java/org/parallelj/launching/quartz/Launch.java b/org.parallelj/parallelj/parallelj-launching/src/main/java/org/parallelj/launching/quartz/Launch.java
index <HASH>..<HASH> 100644
--- a/org.parallelj/parallelj/parallelj-launching/src/main/java/org/paralle... | Modified for JSON result for REST access to JMX | awltech_org.parallelj | train |
61c59bd35b85368fb12528b7fcce289bf80da6f3 | diff --git a/laconic.js b/laconic.js
index <HASH>..<HASH> 100644
--- a/laconic.js
+++ b/laconic.js
@@ -182,8 +182,8 @@
}
// If we're in a CommonJS environment, we export our laconic methods
- if(typeof window.module !== 'undefined' && window.module.exports) {
- window.module.exports = laconic;
+ if(typeof ... | Don't assume that `module` is a global token. It's not -.- | joestelmach_laconic | train |
a0b441706accfe09c92d51513187fcefce0a59e1 | diff --git a/lib/onix/product.rb b/lib/onix/product.rb
index <HASH>..<HASH> 100644
--- a/lib/onix/product.rb
+++ b/lib/onix/product.rb
@@ -24,7 +24,7 @@ module ONIX
xml_accessor :publication_date, :from => "PublicationDate", :as => Date
xml_accessor :year_first_published, :from => "YearFirstPublished", :as =>... | uncomment a line that shouldn't have been committed with a comment | yob_onix | train |
d6902d5130509d695ff71bbf7d93cf99f2d1e40b | diff --git a/src/main/java/uk/co/real_logic/agrona/collections/Int2ObjectCache.java b/src/main/java/uk/co/real_logic/agrona/collections/Int2ObjectCache.java
index <HASH>..<HASH> 100644
--- a/src/main/java/uk/co/real_logic/agrona/collections/Int2ObjectCache.java
+++ b/src/main/java/uk/co/real_logic/agrona/collections/In... | [Java]: Disallow remove methods on cache iterators. | real-logic_agrona | train |
a78338c77d8d79497a7f89bbfde78ba9877acb36 | diff --git a/luigi/task.py b/luigi/task.py
index <HASH>..<HASH> 100644
--- a/luigi/task.py
+++ b/luigi/task.py
@@ -346,7 +346,7 @@ class Task(object):
exc_desc = '%s[args=%s, kwargs=%s]' % (cls.__name__, args, kwargs)
# Fill in the positional arguments
- positional_params = [(n, p) for n, p i... | removed an is_global check, not sure why it wasn't caught by unit tests | spotify_luigi | train |
51344c43cd1d0dfd4717a20dd59c7a687944bfb4 | diff --git a/spring-social-linkedin/src/main/java/org/springframework/social/linkedin/connect/LinkedInServiceApiAdapter.java b/spring-social-linkedin/src/main/java/org/springframework/social/linkedin/connect/LinkedInServiceApiAdapter.java
index <HASH>..<HASH> 100644
--- a/spring-social-linkedin/src/main/java/org/spring... | service api adapter spi changes. in progress | spring-projects_spring-social-linkedin | train |
b5cc59c56f5b6010a64e6a749b532d656ffaff2c | diff --git a/lib/sawyer/agent.rb b/lib/sawyer/agent.rb
index <HASH>..<HASH> 100644
--- a/lib/sawyer/agent.rb
+++ b/lib/sawyer/agent.rb
@@ -10,10 +10,15 @@ module Sawyer
end
def self.serializer
- @serializer ||= begin
- require 'yajl'
- Serializer.new(Yajl)
- end
+ @serializer ||... | remove yajl as a dependency | lostisland_sawyer | train |
fc6ccd8577b031aa6e9b114e45b6224860818d2c | diff --git a/annis-gui/src/main/java/annis/gui/SearchUI.java b/annis-gui/src/main/java/annis/gui/SearchUI.java
index <HASH>..<HASH> 100644
--- a/annis-gui/src/main/java/annis/gui/SearchUI.java
+++ b/annis-gui/src/main/java/annis/gui/SearchUI.java
@@ -622,6 +622,8 @@ public class SearchUI extends AnnisBaseUI
... | do not show the logout button if the user cannot logout using ANNIS | korpling_ANNIS | train |
29832c84a62bd81e11cc29732de36054ab8cbef7 | diff --git a/src/webroot/cms/content-manager/sitemap/modules/tree/tree-node-list.js b/src/webroot/cms/content-manager/sitemap/modules/tree/tree-node-list.js
index <HASH>..<HASH> 100644
--- a/src/webroot/cms/content-manager/sitemap/modules/tree/tree-node-list.js
+++ b/src/webroot/cms/content-manager/sitemap/modules/tree... | Task #<I>: Multi-language support - disable temporarily
- When adding a page or a news there shouldn't be "Not translated" status | sitesupra_sitesupra | train |
b47a607690beb0c55fb5abec09ef2a31c1f507a6 | diff --git a/src/db/defines.php b/src/db/defines.php
index <HASH>..<HASH> 100644
--- a/src/db/defines.php
+++ b/src/db/defines.php
@@ -5,10 +5,10 @@
namespace rosasurfer\db;
-// SQL serialization types (value representation in a SQL statement)
+// PHP to SQL serialization types (PHP value representation in a SQL s... | orm: use constants for mapping access | rosasurfer_ministruts | train |
80d118e8ef0281d1d99610349ae9169495b38496 | diff --git a/lib/arg-parser/parser.rb b/lib/arg-parser/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/arg-parser/parser.rb
+++ b/lib/arg-parser/parser.rb
@@ -120,10 +120,10 @@ module ArgParser
when /^[-\/]([a-z0-9]+)$/i
# One or more short keys
$1.to_s.each_ch... | Ensure keyword args are processed in order
If the same arg appears multiple times, it should be process as though only the last instance was specified | agardiner_arg-parser | train |
1bac50e8d2785f9695e68ab0fd9cb4c1a8facc1a | diff --git a/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/builder/BuilderIntegrationFragment.java b/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/builder/BuilderIntegrationFragment.java
index <HASH>..<HASH> 100644
--- a/plugins/org.eclipse.xtext.generator/src/org/eclipse/xte... | Fix: Speedup XtextEditor#open - no need to create a completly new resource description if there is one available from the builder state | eclipse_xtext-extras | train |
538325e0ea61eef9bc46416ea4976d75b9170c57 | diff --git a/hamster/pytweener.py b/hamster/pytweener.py
index <HASH>..<HASH> 100644
--- a/hamster/pytweener.py
+++ b/hamster/pytweener.py
@@ -9,7 +9,7 @@
import math
class Tweener:
- def __init__(self, duration = None, tween = None):
+ def __init__(self, duration = 0.5, tween = None):
"""Tweener
... | removeTweener seemed to have been forgotten in the way | projecthamster_hamster | train |
c300a996206134a96704128f742a403f0fed15f1 | diff --git a/src/main/java/com/couchbase/cblite/CBLQueryEnumerator.java b/src/main/java/com/couchbase/cblite/CBLQueryEnumerator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/couchbase/cblite/CBLQueryEnumerator.java
+++ b/src/main/java/com/couchbase/cblite/CBLQueryEnumerator.java
@@ -1,5 +1,7 @@
package com.... | CBLQueryEnumerator now conforms to api spec | couchbase_couchbase-lite-java-core | train |
49e17a177596c3f9d517ca913cc6273874800ecf | diff --git a/src/main/java/pl/project13/maven/git/NativeGitProvider.java b/src/main/java/pl/project13/maven/git/NativeGitProvider.java
index <HASH>..<HASH> 100644
--- a/src/main/java/pl/project13/maven/git/NativeGitProvider.java
+++ b/src/main/java/pl/project13/maven/git/NativeGitProvider.java
@@ -400,7 +400,6 @@ publi... | Read the output of native git before waiting for it to complete to avoid a deadlock | git-commit-id_maven-git-commit-id-plugin | train |
f16a0722b20c169164c55cfb65b452640644c5ef | diff --git a/astrobase/varclass/fakelcrecovery.py b/astrobase/varclass/fakelcrecovery.py
index <HASH>..<HASH> 100644
--- a/astrobase/varclass/fakelcrecovery.py
+++ b/astrobase/varclass/fakelcrecovery.py
@@ -1521,7 +1521,7 @@ def periodicvar_recovery(fakepfpkl,
pfres['best_recovered_period'] = np.array([np.nan]... | fakelcrecovery: added periodicvar_recovery fn, now testing... | waqasbhatti_astrobase | train |
2263f1e4bc39567cd6b5a4c8e4c8e62f26f1ec59 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -72,6 +72,7 @@
-p, --port=<n> Bind bankai to a port [default: 8080]
-V, --verbose Include debug messages
-w, --watch=<bool> Toggle watch mode
+ -u, --uglify=<bool> Togg... | Flag off uglifyify (#<I>)
Add a flag to prevent uglifyify from running on the assets to let people run
es6 code more easily. | choojs_bankai | train |
5ebe6c209caf7a139e5f92227f171e4b6532470a | diff --git a/app/src/Bolt/Application.php b/app/src/Bolt/Application.php
index <HASH>..<HASH> 100644
--- a/app/src/Bolt/Application.php
+++ b/app/src/Bolt/Application.php
@@ -36,7 +36,7 @@ class Application extends BaseApplication
public function __construct(array $values = array())
{
$values['bolt_v... | Sneakily bumping version number to '<I> beta 3' | bolt_bolt | train |
a0e32e4ffacab71958c17c30f993f16663b09590 | diff --git a/build.sh b/build.sh
index <HASH>..<HASH> 100644
--- a/build.sh
+++ b/build.sh
@@ -1 +1,2 @@
+#!/usr/bin/env python
$PYTHON setup.py install --single-version-externally-managed --record=record.txt
diff --git a/exa/__init__.py b/exa/__init__.py
index <HASH>..<HASH> 100644
--- a/exa/__init__.py
+++ b/exa/_... | Fixed some minor codacy issues; member access, unused variables, duplicate imports, etc. | exa-analytics_exa | train |
90a7a54665291a3b9d8aebd0a212a8a5b3e5d80b | diff --git a/source/libraries/generic/wait infinitely/EQVJBF/script.py b/source/libraries/generic/wait infinitely/EQVJBF/script.py
index <HASH>..<HASH> 100644
--- a/source/libraries/generic/wait infinitely/EQVJBF/script.py
+++ b/source/libraries/generic/wait infinitely/EQVJBF/script.py
@@ -1,6 +1,6 @@
def execute(... | Fix bug in generic library
Typo prevented preemptive_wait to be called | DLR-RM_RAFCON | train |
6dd1d0b7ad1cfa638a7514b7ccb595afbabea187 | diff --git a/src/fonduer/utils/udf.py b/src/fonduer/utils/udf.py
index <HASH>..<HASH> 100644
--- a/src/fonduer/utils/udf.py
+++ b/src/fonduer/utils/udf.py
@@ -196,11 +196,6 @@ class UDF(Process):
self.out_queue = out_queue
self.worker_id = worker_id
- # Each UDF starts its own Engine
- ... | Create an Engine and open a connection in each child process | HazyResearch_fonduer | train |
dfe6a613a0a0d7aec4bade02b1914e4c3a12f7dd | diff --git a/assets/public/form-submit.js b/assets/public/form-submit.js
index <HASH>..<HASH> 100644
--- a/assets/public/form-submit.js
+++ b/assets/public/form-submit.js
@@ -25,19 +25,19 @@ ivoPetkov.bearFrameworkAddons.formSubmit = ivoPetkov.bearFrameworkAddons.formSub
var submit = function (formElement, formDat... | The dispatched events now have a promisesToWait property. | ivopetkov_form-bearframework-addon | train |
6effb4a8085a64875cadc6ac0671b3251eb10fd8 | diff --git a/moztelemetry/spark.py b/moztelemetry/spark.py
index <HASH>..<HASH> 100644
--- a/moztelemetry/spark.py
+++ b/moztelemetry/spark.py
@@ -184,6 +184,8 @@ def get_records(sc, source_name, **kwargs):
field_names = [f["field_name"] for f in schema["dimensions"]]
for field_name in field_names:
f... | Skip null field filters.
We don't want to default to "allowed_values" = null, so we skip
un-set field filters. This means you don't have to specify a value
for every available field. | mozilla_python_moztelemetry | train |
9f15f3dc163bfd18209cfc1528a43445ab269bff | diff --git a/chef/lib/chef/knife.rb b/chef/lib/chef/knife.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/knife.rb
+++ b/chef/lib/chef/knife.rb
@@ -121,7 +121,7 @@ class Chef
def self.run(args, options={})
load_commands
subcommand_class = subcommand_class_from(args)
- subcommand_class.options... | knife node show foobar -E shows the environment a node is in. | chef_chef | train |
d3d51a631d7cf39cad1803b5260c055a1358671b | diff --git a/src/Model.php b/src/Model.php
index <HASH>..<HASH> 100644
--- a/src/Model.php
+++ b/src/Model.php
@@ -103,20 +103,21 @@ trait Model
return call_user_func([$this, $name]);
}
}
- if (!property_exists($this->__state, $prop)) {
+ if (!property_exists($this->... | don't barf if these are unset | ornament-orm_core | train |
22cc4e0ace0f8c12e48b5f30be98e2437992efe1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,38 +1,29 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
-from __future__ import absolute_import, print_function
+from __future__ import absolute_import
import io
-import os
import re
from glob import glob
-from o... | setup simplification
Simplified module imports, removed use of numpy.distutils | aburrell_apexpy | train |
a92d7f96a12648292a1612b834667a3250defa5b | diff --git a/openquake/baselib/datastore.py b/openquake/baselib/datastore.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/datastore.py
+++ b/openquake/baselib/datastore.py
@@ -445,7 +445,7 @@ class DataStore(collections.MutableMapping):
def __len__(self):
if self.hdf5 is None: # closed
- ... | Small fix: closed datastore have a length now [skip hazardlib] [demos]
Former-commit-id: <I>d<I>ebbb<I>b2c<I>ea9b4fcec<I>d4c<I>d | gem_oq-engine | train |
43d9f41ac8de990dd3e27dcbc5d000e25c9df875 | diff --git a/pybotvac/robot.py b/pybotvac/robot.py
index <HASH>..<HASH> 100644
--- a/pybotvac/robot.py
+++ b/pybotvac/robot.py
@@ -7,6 +7,12 @@ import os.path
# Disable warning due to SubjectAltNameWarning in certificate
requests.packages.urllib3.disable_warnings()
+SUPPORTED_SERVICES = ['basic-1', 'minimal-2', 'ba... | Minor rewrite
A few changes before merging into main branch:
- Create UnsupportedDevice exception class, to simplify catching exception
in user code.
- Create read-only properties for available_services and
service_version.
- Check that service version is supported once (in __init__), to avoid
code duplication.
... | stianaske_pybotvac | train |
b7899ff056a68e88d4457f6a0ab3833ce7cd95c4 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,8 @@
[](https://travis-ci.org/turbonetix/bus.io-exchange.git)
[](http... | updated the doc and the api | fullstackers_bus.io-exchange | train |
5ecd0276f99ae0a178c01fc682f90bb13fb288ac | diff --git a/pyaardvark/aardvark.py b/pyaardvark/aardvark.py
index <HASH>..<HASH> 100644
--- a/pyaardvark/aardvark.py
+++ b/pyaardvark/aardvark.py
@@ -535,7 +535,7 @@ class Aardvark(object):
raise RuntimeError('SPI Mode not supported')
def spi_write(self, data):
- "Write a stream of bytes to ... | Fix docstring of spi_write | kontron_python-aardvark | train |
9ea647750b558fe034c780f15bcb321c3b61d95d | diff --git a/lib/active_merchant/billing/gateways/eway.rb b/lib/active_merchant/billing/gateways/eway.rb
index <HASH>..<HASH> 100644
--- a/lib/active_merchant/billing/gateways/eway.rb
+++ b/lib/active_merchant/billing/gateways/eway.rb
@@ -8,7 +8,7 @@ module ActiveMerchant #:nodoc:
self.live_url = 'https://www.ew... | Eway: Update supported countries
Eway is now also available in the UK and New Zealand. | activemerchant_active_merchant | train |
c86ca5aad1c373a5069f0ca081f62a466afb7e2c | diff --git a/src/com/google/javascript/jscomp/deps/ClosureBundler.java b/src/com/google/javascript/jscomp/deps/ClosureBundler.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/deps/ClosureBundler.java
+++ b/src/com/google/javascript/jscomp/deps/ClosureBundler.java
@@ -29,7 +29,6 @@ import java.nio... | When evaluation code in SUPER_UNCOMPILED mode, rely on strict eval rather than an explicit "use strict".
-------------
Created by MOE: <URL> | google_closure-compiler | train |
4e645ca134d1aec6fb965fb5bc8e9189a401f6eb | diff --git a/src/pylast/__init__.py b/src/pylast/__init__.py
index <HASH>..<HASH> 100644
--- a/src/pylast/__init__.py
+++ b/src/pylast/__init__.py
@@ -2531,8 +2531,7 @@ class User(_Chartable):
params = self._get_params()
params["period"] = period
- if limit:
- params["limit"] = lim... | Set get_top_tracks limit even if it's `None`
To get an unlimited number of top tracks, `_get_things` expects
`params['limit']` to be set to `None`. However, this can't happen here
because `None` is falsy.
Fixes #<I>. | pylast_pylast | train |
85f5d6c51a75ed45e479afe59d43a452af88b23a | diff --git a/lib/seismograph/version.rb b/lib/seismograph/version.rb
index <HASH>..<HASH> 100644
--- a/lib/seismograph/version.rb
+++ b/lib/seismograph/version.rb
@@ -1,3 +1,3 @@
module Seismograph
- VERSION = '0.3.0'
+ VERSION = '0.4.0'
end | Incrementing version
New functionality deserves a minor | kapost_seismograph | train |
8c45a3db50f91ca96f74af0709df9351b02704dc | diff --git a/server/sonar-web/src/main/js/apps/coding-rules/controller.js b/server/sonar-web/src/main/js/apps/coding-rules/controller.js
index <HASH>..<HASH> 100644
--- a/server/sonar-web/src/main/js/apps/coding-rules/controller.js
+++ b/server/sonar-web/src/main/js/apps/coding-rules/controller.js
@@ -140,15 +140,21 @@... | SONAR-<I> Provide a keyboard shortcut to activate a rule from the list of rules | SonarSource_sonarqube | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.